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 : 1087609 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 : 2425>100 please execute split_portfolio.py -i 22406770 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2759758'] with mtr_portfolio_ids : ['22406770'] and first list_photo_ids : [] new path : /proc/1087609/ 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.3882009983062744 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 Apr 25 11:02: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/1745571749_1087609_1353668279_21a3d78e49c2374e7634ef0572819224.jpg resize: (1080, 1632) 1353668279 -4.399923773919345 treat image : temp/1745571749_1087609_1353668221_9a07693f53c35c217d300fd45a08cf83.jpg resize: (1080, 1632) 1353668221 -1.8314117379983033 treat image : temp/1745571749_1087609_1353668161_3a237c46d5d56849ca4ed1757794295a.jpg resize: (1080, 1632) 1353668161 -2.1759021714483224 treat image : temp/1745571749_1087609_1353668089_9aadfb98b8acda05ee5ec40a43e58a8a.jpg resize: (1080, 1632) 1353668089 -6.655554199479488 treat image : temp/1745571749_1087609_1353667531_e608e58012184e3c6f122be0ba6ef43a.jpg resize: (1080, 1632) 1353667531 -5.71156568135383 treat image : temp/1745571749_1087609_1353667476_a07ee19dee2dd097e3c7a04bbcaf4852.jpg resize: (1080, 1632) 1353667476 -5.775532924618718 treat image : temp/1745571749_1087609_1353667428_5856b0df4a8b6f857a8fd17867852531.jpg resize: (1080, 1632) 1353667428 -5.270666041504943 treat image : temp/1745571749_1087609_1353667423_98b9e7196415b26c246714b6d8d78e82.jpg resize: (1080, 1632) 1353667423 -5.640835732065183 treat image : temp/1745571749_1087609_1353667420_b7e92f8ed00f680bbca18f2854704a8f.jpg resize: (1080, 1632) 1353667420 -5.472674574018059 treat image : temp/1745571749_1087609_1353667415_cf2cdfcee58a6879ad8e29467c3b8b97.jpg resize: (1080, 1632) 1353667415 -5.981032080296705 treat image : temp/1745571749_1087609_1353667404_14cc3667a4aee27cd33018128a8edf79.jpg resize: (1080, 1632) 1353667404 -2.107154121361623 treat image : temp/1745571749_1087609_1353667400_ce19851acc178e5f668af16374127d15.jpg resize: (1080, 1632) 1353667400 -3.7244974267431163 treat image : temp/1745571749_1087609_1353667395_de428c58739e74065b4b3149f44284b4.jpg resize: (1080, 1632) 1353667395 -5.154261197106824 treat image : temp/1745571749_1087609_1353667390_f02924bd5effd0728afcb7909c2d685f.jpg resize: (1080, 1632) 1353667390 -5.670679178881072 treat image : temp/1745571749_1087609_1353667370_dc99f032f9adc48e3f0546a7d35ff975.jpg resize: (1080, 1632) 1353667370 -5.376606862761172 treat image : temp/1745571749_1087609_1353667357_ba70308c23491cbfa70d9a43e3002e9c.jpg resize: (1080, 1632) 1353667357 -5.278397441599459 treat image : temp/1745571749_1087609_1353667340_1374be6dcdd7973ea7fa50a538cddd2a.jpg resize: (1080, 1632) 1353667340 -6.148838190822801 treat image : temp/1745571749_1087609_1353667330_f717828ce69ff04f7cfd2c23935f5dad.jpg resize: (1080, 1632) 1353667330 -5.036381180053525 treat image : temp/1745571749_1087609_1353667319_e9cf66e3a468dd00c4bc401f7182ea8c.jpg resize: (1080, 1632) 1353667319 -5.067543368720569 treat image : temp/1745571749_1087609_1353667315_4a8859b4755d8c2c52ccbebe8eb7d6c4.jpg resize: (1080, 1632) 1353667315 -2.439420407133414 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.012580633163452148 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.011965274810791016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014902830123901367 save missing photos in datou_result : time spend for datou_step_exec : 17.539127826690674 time spend to save output : 0.044475555419921875 total time spend for step 1 : 17.583603382110596 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.56user 4.49system 0:23.63elapsed 84%CPU (0avgtext+0avgdata 137256maxresident)k 144inputs+9848outputs (9major+254937minor)pagefaults 0swaps