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 : 1670472 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 : 3313>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1670472/ 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.430610179901123 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 Fri Aug 22 00: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/1755817049_1670472_1378372463_b301a714ab0a6eab35093ab745b3d028.jpg resize: (1080, 1632) 1378372463 -4.7965463815201295 treat image : temp/1755817049_1670472_1378372461_d3561979ec36bc7a6fbc6b1ac9c60e97.jpg resize: (1080, 1632) 1378372461 -5.685644855911149 treat image : temp/1755817049_1670472_1378372441_8a5b43633c20d7dc4374504c731b05d6.jpg resize: (1080, 1632) 1378372441 -3.982010919306293 treat image : temp/1755817049_1670472_1378372416_ba91f41eab973a0694ff09da2ce7a237.jpg resize: (1080, 1632) 1378372416 -4.960205698299448 treat image : temp/1755817049_1670472_1378372389_a818815e5a4604e7b67eb65f4bf4c3fe.jpg resize: (1080, 1632) 1378372389 -3.6793619432183204 treat image : temp/1755817049_1670472_1378372385_15fa1383a0d7c243be9a91e8342ac0fd.jpg resize: (1080, 1632) 1378372385 -0.983195111800762 treat image : temp/1755817049_1670472_1378372199_108d4df83bb81cb5f6e1cabd71747bcb.jpg resize: (1080, 1632) 1378372199 -1.0760238853901438 treat image : temp/1755817049_1670472_1378372197_3fff97c15231565040def62a2670b848.jpg resize: (1080, 1632) 1378372197 -6.341696847382505 treat image : temp/1755817049_1670472_1378372195_a52d477f141c0002058a112f3f015f01.jpg resize: (1080, 1632) 1378372195 -5.7913927926176125 treat image : temp/1755817049_1670472_1378372193_d5371025b0a733649b08f972051fa522.jpg resize: (1080, 1632) 1378372193 -6.178964533240198 treat image : temp/1755817049_1670472_1378372181_dc19d1d26437b5c50b75189a69276979.jpg resize: (1080, 1632) 1378372181 -5.319085657557571 treat image : temp/1755817049_1670472_1378372177_1fc3e06cef465f2f5eae71836a59b392.jpg resize: (1080, 1632) 1378372177 -4.032343058501263 treat image : temp/1755817049_1670472_1378372121_ef307cc83aac5d7d25f19a98e3aa3dfc.jpg resize: (1080, 1632) 1378372121 -4.752807345866773 treat image : temp/1755817049_1670472_1378372119_ce47e5e7c54cd27f553b7af0ddad560a.jpg resize: (1080, 1632) 1378372119 -5.5265542177424365 treat image : temp/1755817049_1670472_1378372117_8112dc90c772ed87bfa2e99e2b53e4ab.jpg resize: (1080, 1632) 1378372117 -4.339200904305457 treat image : temp/1755817049_1670472_1378372115_09f2709919ab16c8087b7d0c4d77b9e4.jpg resize: (1080, 1632) 1378372115 -2.6201350940298695 treat image : temp/1755817049_1670472_1378372112_22dce56c0bf0f24d28f647bcbb3f5789.jpg resize: (1080, 1632) 1378372112 -4.969142953665467 treat image : temp/1755817049_1670472_1378372110_a0292733ed8a0e3f81e6ab2b1dbeea5f.jpg resize: (1080, 1632) 1378372110 -1.222581749923411 treat image : temp/1755817049_1670472_1378371998_02e1782f3225f0fcb0631c017681134a.jpg resize: (1080, 1632) 1378371998 -1.2671165266769742 treat image : temp/1755817049_1670472_1378371993_7dc8cb2fcaafb2ee43a87837c9deea91.jpg resize: (1080, 1632) 1378371993 -2.1901088233371855 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.012664079666137695 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.01900005340576172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018960237503051758 save missing photos in datou_result : time spend for datou_step_exec : 16.15663433074951 time spend to save output : 0.055564165115356445 total time spend for step 1 : 16.212198495864868 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 3.46system 0:21.83elapsed 85%CPU (0avgtext+0avgdata 138688maxresident)k 160inputs+9160outputs (0major+262870minor)pagefaults 0swaps