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 : 2110584 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 updating current state to 1 we have a portfolio with more photos than limit : 521>100 please execute split_portfolio.py -i 26278252 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3618674'] with mtr_portfolio_ids : ['26278252'] and first list_photo_ids : [] new path : /proc/2110584/ 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 ! BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.2761116027832031 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 Thu Aug 28 02:52:28 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/1756342346_2110584_1379790233_0e9a80c40000695c47ef1e19ca1341e3_34135552.jpg resize: (1080, 1632) 1379790233 -4.986617394496139 treat image : temp/1756342346_2110584_1379790232_ee2965595dd87f3ef248df060ff6ac8b_49673932.jpg resize: (1080, 1632) 1379790232 -4.711963248804371 treat image : temp/1756342346_2110584_1379790231_a09f130a51c170c57ca4f29f7fdd39c6_48343417.jpg resize: (1080, 1632) 1379790231 -5.152309679029521 treat image : temp/1756342346_2110584_1379790230_5ac0fcf4f0a586c766fe28901a273883_94367211.jpg resize: (1080, 1632) 1379790230 -5.326586320120837 treat image : temp/1756342346_2110584_1379790229_4b340448ad99278f8549e04883ff186e_97264567.jpg resize: (1080, 1632) 1379790229 -4.451438716691373 treat image : temp/1756342346_2110584_1379790228_0efbdb0262a00b5202f0bb6f7b3f0e1f_45915162.jpg resize: (1080, 1632) 1379790228 -3.091704434101863 treat image : temp/1756342346_2110584_1379790134_708e7ca0d9d8f6eb27ddfefeb02821bc_50284585.jpg resize: (1080, 1632) 1379790134 -3.609629387020889 treat image : temp/1756342346_2110584_1379790133_8519a383d6dec2ae551fbd8345217c04_13341324.jpg resize: (1080, 1632) 1379790133 -5.387648967573374 treat image : temp/1756342346_2110584_1379790132_cc456d82986c264798bb665e25dd3b7f_59255862.jpg resize: (1080, 1632) 1379790132 -4.6231224327566744 treat image : temp/1756342346_2110584_1379790131_96527a6d8a0fefe3ffec4cd89ae3fb4e_18257025.jpg resize: (1080, 1632) 1379790131 -5.154448230783303 treat image : temp/1756342346_2110584_1379790130_e571865d74ddf970a1374f38b24d1149_6503555.jpg resize: (1080, 1632) 1379790130 -5.263959390754066 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 : 11 time used for this insertion : 0.01367330551147461 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 time used for this insertion : 0.012951135635375977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013922929763793945 save missing photos in datou_result : time spend for datou_step_exec : 10.400934934616089 time spend to save output : 0.045032501220703125 total time spend for step 1 : 10.445967435836792 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 8.44user 4.04system 0:13.15elapsed 94%CPU (0avgtext+0avgdata 139884maxresident)k 80inputs+5192outputs (7major+169887minor)pagefaults 0swaps