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 : 1709719 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 : 3427>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/1709719/ 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.6843791007995605 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 01:12:29 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/1755817946_1709719_1378373863_bc1bbe94a1d629bee491f97963bd455e.jpg resize: (1080, 1632) 1378373863 -3.5908967713112 treat image : temp/1755817946_1709719_1378373838_49c5ecca4538b30df536cff27f7f36b6.jpg resize: (1080, 1632) 1378373838 -2.995257377951195 treat image : temp/1755817946_1709719_1378373804_713f3b5313d88bf5ee1b466d9dfd60bd.jpg resize: (1080, 1632) 1378373804 -3.726518278196899 treat image : temp/1755817946_1709719_1378373777_4edb2fcc18ce1cdea444352514c59ae9.jpg resize: (1080, 1632) 1378373777 -2.846353836139833 treat image : temp/1755817946_1709719_1378373748_18df6753cfbda33368f5005bdcca9584.jpg resize: (1080, 1632) 1378373748 -3.1590989418695763 treat image : temp/1755817946_1709719_1378373717_1305a20689e1da6ac4147966e361d1fe.jpg resize: (1080, 1632) 1378373717 -2.905177574697528 treat image : temp/1755817946_1709719_1378373662_83d7c188d0a10fbc090c1e47ce730514.jpg resize: (1080, 1632) 1378373662 -3.898317153038436 treat image : temp/1755817946_1709719_1378373658_63f04c9130ed7f5d36a998bcd8ded127.jpg resize: (1080, 1632) 1378373658 -4.396920520591517 treat image : temp/1755817946_1709719_1378373655_41a951badd9038d0a25cb41ff613fb8e.jpg resize: (1080, 1632) 1378373655 -4.539069145350742 treat image : temp/1755817946_1709719_1378373654_3c754736ee4fca364459e6f863f83ea7.jpg resize: (1080, 1632) 1378373654 -4.436770111010007 treat image : temp/1755817946_1709719_1378373652_5015a726097a1e27eb47002835c29540.jpg resize: (1080, 1632) 1378373652 -5.611035297904088 treat image : temp/1755817946_1709719_1378373649_9131b38dfaddce4dcdb5d5df47d6b086.jpg resize: (1080, 1632) 1378373649 -5.234582854997358 treat image : temp/1755817946_1709719_1378373640_c7abb4dd72d30c2681a49627c4db6cef.jpg resize: (1080, 1632) 1378373640 -1.113109072533014 treat image : temp/1755817946_1709719_1378373635_f6c4e9132e4b6cd848f7e2ad90c8fbeb.jpg resize: (1080, 1632) 1378373635 -3.9359952845354607 treat image : temp/1755817946_1709719_1378373619_33a70e5a2261091624538be64be6a7cf.jpg resize: (1080, 1632) 1378373619 -3.0235604191635055 treat image : temp/1755817946_1709719_1378373594_93d6a3d75b7d0718d092aadc768983e1.jpg resize: (1080, 1632) 1378373594 -6.174496167677564 treat image : temp/1755817946_1709719_1378373571_2bd61d53756a7f9c081d8ba94dcaa170.jpg resize: (1080, 1632) 1378373571 -6.087539472274195 treat image : temp/1755817946_1709719_1378373523_80f856eb85b25de18babf2594c29b40b.jpg resize: (1080, 1632) 1378373523 -4.583911428601901 treat image : temp/1755817946_1709719_1378372842_93e2bfb4d31082ea13260fc29cab5478.jpg resize: (1080, 1632) 1378372842 -5.397785400326688 treat image : temp/1755817946_1709719_1378372821_22240813be6f0d4f310439d4e746d8e9.jpg resize: (1080, 1632) 1378372821 -5.397785400326688 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.017809391021728516 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.016004323959350586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01875925064086914 save missing photos in datou_result : time spend for datou_step_exec : 17.003263235092163 time spend to save output : 0.05714106559753418 total time spend for step 1 : 17.060404300689697 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 4.05system 0:22.05elapsed 85%CPU (0avgtext+0avgdata 139732maxresident)k 120inputs+8464outputs (7major+256546minor)pagefaults 0swaps