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 : 1408546 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 : 2648>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1408546/ 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.607133150100708 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 Sep 4 17:57: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/1757001449_1408546_1381452321_909f7bffa52f8cdafb8d26b92d5b1b7e_93730040.jpg resize: (1080, 1632) 1381452321 -4.7364225044105845 treat image : temp/1757001449_1408546_1381452317_5d2168e9fcb9435c2ded36a6e737a4ab_92837410.jpg resize: (1080, 1632) 1381452317 -4.042977910484858 treat image : temp/1757001449_1408546_1381452234_18a9f0901d7e78e826e5223353a70743_39634550.jpg resize: (1080, 1632) 1381452234 -3.8628620494807913 treat image : temp/1757001449_1408546_1381452230_5f79eb06f894603f30f71d086efe91dd_92342551.jpg resize: (1080, 1632) 1381452230 -3.3006175352526674 treat image : temp/1757001449_1408546_1381452226_d610cfbfadeb2c5e7ac6215166f9ff8b_92009117.jpg resize: (1080, 1632) 1381452226 0.03177827113656113 treat image : temp/1757001449_1408546_1381452222_3339ab1f98a84e2547e0ab263f991a6c_20462671.jpg resize: (1080, 1632) 1381452222 -1.5949523595151098 treat image : temp/1757001449_1408546_1381452218_aa1ff1b56a8e642d0cbf1b44e65ef7de_37106852.jpg resize: (1080, 1632) 1381452218 -2.8369249328396844 treat image : temp/1757001449_1408546_1381452214_65d287e49aff9e15f2d63ae45d4fbd31_91498684.jpg resize: (1080, 1632) 1381452214 -3.0936467536584935 treat image : temp/1757001449_1408546_1381452083_f9b44c354f4ab7751623316d09a12674_81170476.jpg resize: (1080, 1632) 1381452083 -2.4448836226850803 treat image : temp/1757001449_1408546_1381452079_d911ecbc6a7fcaf0e055e0ef047d6058_76416587.jpg resize: (1080, 1632) 1381452079 -4.634014755910464 treat image : temp/1757001449_1408546_1381452075_eb4d93ecd6ec4733580edcae6331427b_22778154.jpg resize: (1080, 1632) 1381452075 -5.434842800682346 treat image : temp/1757001449_1408546_1381452071_4ce601fa4df2f37657f242abdb9cb9a3_13927660.jpg resize: (1080, 1632) 1381452071 -5.142235676649392 treat image : temp/1757001449_1408546_1381452067_ceddc270677fc57e002f727538283645_43719434.jpg resize: (1080, 1632) 1381452067 -6.10507463557784 treat image : temp/1757001449_1408546_1381452063_86a682ce81ed65b4bda6f3a81f93bfdd_72596594.jpg resize: (1080, 1632) 1381452063 -5.201133522614044 treat image : temp/1757001449_1408546_1381451948_fa2097e6f0e2f31bbfd76ffc200abe13_45058553.jpg resize: (1080, 1632) 1381451948 -5.535553936091718 treat image : temp/1757001449_1408546_1381451943_25afd3052c6d90654722ffa3a070d30f_62024936.jpg resize: (1080, 1632) 1381451943 -4.78421758737472 treat image : temp/1757001449_1408546_1381451939_30e3e0d1e1aca9f41966291600553948_82244266.jpg resize: (1080, 1632) 1381451939 -4.554712298348046 treat image : temp/1757001449_1408546_1381451935_67c9bbe3b70fce0ed547178baff0e7a6_65200867.jpg resize: (1080, 1632) 1381451935 -3.239110299169542 treat image : temp/1757001449_1408546_1381451930_904dc5eae85a5af00950f21702eb4e0c_23070136.jpg resize: (1080, 1632) 1381451930 -2.8715543138179735 treat image : temp/1757001449_1408546_1381451926_4fd735f339a2e5fe19fc201a3cebf211_68969510.jpg resize: (1080, 1632) 1381451926 -3.9120100006072622 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.03186225891113281 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.032553672790527344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03803730010986328 save missing photos in datou_result : time spend for datou_step_exec : 15.048313856124878 time spend to save output : 0.11814594268798828 total time spend for step 1 : 15.166459798812866 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.89user 3.55system 0:20.48elapsed 85%CPU (0avgtext+0avgdata 144180maxresident)k 144inputs+8560outputs (9major+262820minor)pagefaults 0swaps