python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1617700 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 1222>100 please execute split_portfolio.py -i 20960306 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2627776'] with mtr_portfolio_ids : ['20960306'] and first list_photo_ids : [] new path : /proc/1617700/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.1453354358673096 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Mon Mar 3 10:37:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1740994649_1617700_1340605980_969304f82dab96250ea1e1ffd35e4f26.jpg resize: (1080, 1632) 1340605980 -5.870804407225506 treat image : temp/1740994649_1617700_1340605975_a0f87a0395944dae90bc1cd5da7ab081.jpg resize: (1080, 1632) 1340605975 -4.398719964419196 treat image : temp/1740994649_1617700_1340605963_fda49a225ee9764c97b9bf4754f10f17.jpg resize: (1080, 1632) 1340605963 -6.679473889289201 treat image : temp/1740994649_1617700_1340605958_ed74b062515376f5ddd023f4fade88bd.jpg resize: (1080, 1632) 1340605958 -2.4516299303229645 treat image : temp/1740994649_1617700_1340605911_c398777be031174d3b570ef7459d9a87.jpg resize: (1080, 1632) 1340605911 -3.910001111018153 treat image : temp/1740994649_1617700_1340605906_bb8ada32e8693b78e44d58c98ec73fbc.jpg resize: (1080, 1632) 1340605906 -5.065711849459644 treat image : temp/1740994649_1617700_1340605901_83fbc8c080e44453a6d86aac92fbdd7b.jpg resize: (1080, 1632) 1340605901 -5.560098221805344 treat image : temp/1740994649_1617700_1340605896_dfe45232ec0c6077c58fff8cc1815ee6.jpg resize: (1080, 1632) 1340605896 -6.399121575222223 treat image : temp/1740994649_1617700_1340605890_3c6fec845b8cdc2dbd40f0cf3017fc5f.jpg resize: (1080, 1632) 1340605890 -6.793929744528106 treat image : temp/1740994649_1617700_1340605885_58f6dcb46ce9af479dfef05c6983dad1.jpg resize: (1080, 1632) 1340605885 -6.523627549460788 treat image : temp/1740994649_1617700_1340605838_7eabaef53407acf14f3d9415d2a2362d.jpg resize: (1080, 1632) 1340605838 -6.273439940374732 treat image : temp/1740994649_1617700_1340605829_1bb663c5595294e5f8aa750a9b38ab0e.jpg resize: (1080, 1632) 1340605829 -5.070872076965883 treat image : temp/1740994649_1617700_1340605814_991d9fcbb4f397e4fac2d295eea25bcf.jpg resize: (1080, 1632) 1340605814 -5.032700449119904 treat image : temp/1740994649_1617700_1340605804_1c552490c4a37a6a731ce46389ccf54b.jpg resize: (1080, 1632) 1340605804 -2.550551557667919 treat image : temp/1740994649_1617700_1340605800_7cd5e3febde32c3b35d28ca0d244625f.jpg resize: (1080, 1632) 1340605800 -2.4856434508146354 treat image : temp/1740994649_1617700_1340605768_44a8f718cba942f86dc9f344cb180ea7.jpg resize: (1080, 1632) 1340605768 -2.5099140544737306 treat image : temp/1740994649_1617700_1340605763_9e403edb257d81d33bc27094be26340e.jpg resize: (1080, 1632) 1340605763 -1.8046771706294797 treat image : temp/1740994649_1617700_1340605753_bd6a4251449b7bbdd6dbe9e477fd15cb.jpg resize: (1080, 1632) 1340605753 -4.517188956532456 treat image : temp/1740994649_1617700_1340605749_3653bc0ddf4964c30247b27861c7e883.jpg resize: (1080, 1632) 1340605749 -6.85220282802046 treat image : temp/1740994649_1617700_1340605746_c8395bf45e9a5bb46a33310d5cf27b20.jpg resize: (1080, 1632) 1340605746 -6.669926276804915 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.012580633163452148 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.012015104293823242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013953685760498047 save missing photos in datou_result : time spend for datou_step_exec : 15.759899377822876 time spend to save output : 0.04363203048706055 total time spend for step 1 : 15.803531408309937 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.18system 0:22.09elapsed 80%CPU (0avgtext+0avgdata 140852maxresident)k 1072inputs+11392outputs (23major+260328minor)pagefaults 0swaps