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 : 2183986 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 : 4406>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2183986/ 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 : 3.4734034538269043 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 Jul 3 01:12:32 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/1751497949_2183986_1370201235_2b99247716e2b59aca610432fc27c254.jpg resize: (1080, 1632) 1370201235 -4.736990451578468 treat image : temp/1751497949_2183986_1370201203_f57ccbcd78ac24d86c2f4955bdb78565.jpg resize: (1080, 1632) 1370201203 -5.146486743393743 treat image : temp/1751497949_2183986_1370201143_86ad97e47976cdda0ac29b7634d2bdaa.jpg resize: (1080, 1632) 1370201143 -5.7848700229187475 treat image : temp/1751497949_2183986_1370201099_5bc87a1769461f245a4b0c36485bb5e6.jpg resize: (1080, 1632) 1370201099 -5.784430529114893 treat image : temp/1751497949_2183986_1370201064_c0d9397622f7c47733779a2207e65eb3.jpg resize: (1080, 1632) 1370201064 -5.748578534483757 treat image : temp/1751497949_2183986_1370201030_46b7e69aa8fa48151c70e3f695ee7138.jpg resize: (1080, 1632) 1370201030 -5.62882543503283 treat image : temp/1751497949_2183986_1370199886_33048b959acbf46ab0c24084b6147d30.jpg resize: (1080, 1632) 1370199886 -5.62853069837046 treat image : temp/1751497949_2183986_1370199860_6491988f73bb7ada98734045edbbef33.jpg resize: (1080, 1632) 1370199860 -5.63479440723059 treat image : temp/1751497949_2183986_1370199801_826a5c01ffd6b5bf0404bb44f28e35b2.jpg resize: (1080, 1632) 1370199801 -5.180458029614314 treat image : temp/1751497949_2183986_1370199737_0dfa065f70536920073bcc2aba6157d4.jpg resize: (1080, 1632) 1370199737 -5.1420783446106375 treat image : temp/1751497949_2183986_1370199673_6daf69428847e2103880ff7da7ec26be.jpg resize: (1080, 1632) 1370199673 -5.185181810219263 treat image : temp/1751497949_2183986_1370199609_92b74b6234197ba105ad822821ca8592.jpg resize: (1080, 1632) 1370199609 -4.982696222783377 treat image : temp/1751497949_2183986_1370197775_63fcc75a5edf0e53bcf8cfe16811b196.jpg resize: (1080, 1632) 1370197775 -5.006154667521065 treat image : temp/1751497949_2183986_1370197713_8bca5be96ccb02cb3c1d9d919f67c65a.jpg resize: (1080, 1632) 1370197713 -5.03515255735706 treat image : temp/1751497949_2183986_1370197651_d84aaa5d1f035a0d36659061e6dc503c.jpg resize: (1080, 1632) 1370197651 -5.035897922530035 treat image : temp/1751497949_2183986_1370197574_6faf67d9f780aa910ed7a60915897871.jpg resize: (1080, 1632) 1370197574 -4.516941346157437 treat image : temp/1751497949_2183986_1370197482_f590f7a1017c0d38a52776c673e9a1c4.jpg resize: (1080, 1632) 1370197482 -5.749225377465638 treat image : temp/1751497949_2183986_1370197384_aa39922a13c9c2f22a53bfb719743d7c.jpg resize: (1080, 1632) 1370197384 -5.764891118448417 treat image : temp/1751497949_2183986_1370196525_b5277fb2d52f6376a60f8e2cc4dfa1bb.jpg resize: (1080, 1632) 1370196525 -5.37534432652974 treat image : temp/1751497949_2183986_1370196524_ad0dbe6212a03bf5efb100c3e5525cb5.jpg resize: (1080, 1632) 1370196524 -0.3224704656153827 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.012612581253051758 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.013227701187133789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01576709747314453 save missing photos in datou_result : time spend for datou_step_exec : 17.94930386543274 time spend to save output : 0.046291351318359375 total time spend for step 1 : 17.9955952167511 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 6.51system 0:25.78elapsed 80%CPU (0avgtext+0avgdata 137928maxresident)k 392inputs+10096outputs (2major+261913minor)pagefaults 0swaps