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 : 2373767 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 : 1221>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2373767/ 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.165332794189453 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 May 16 06:17:30 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/1747369048_2373767_1358817122_49c499d4bc20aa9ff5e2347a93147d13.jpg resize: (1080, 1632) 1358817122 -5.164476870668624 treat image : temp/1747369048_2373767_1358817095_9be28b450dc63f33823c4270ce5808fa.jpg resize: (1080, 1632) 1358817095 -5.175029050022278 treat image : temp/1747369048_2373767_1358817068_65d1d8ee7f00f1e46641fbe38adbefd4.jpg resize: (1080, 1632) 1358817068 -4.998374597937817 treat image : temp/1747369048_2373767_1358817038_3feddc676f8ce884d2b5682ade42a16a.jpg resize: (1080, 1632) 1358817038 -1.1257823568991099 treat image : temp/1747369048_2373767_1358816631_9a797ef3616c43e9ef561b9815c66338.jpg resize: (1080, 1632) 1358816631 -1.9620849804380165 treat image : temp/1747369048_2373767_1358816574_22ba4ebc8978b7e345818deb80ffe553.jpg resize: (1080, 1632) 1358816574 -2.2707877089796846 treat image : temp/1747369048_2373767_1358816507_74cccf36497222f506c07657b1a53db5.jpg resize: (1080, 1632) 1358816507 -2.9313510413363213 treat image : temp/1747369048_2373767_1358816481_e815683fd7708042675eec56de0dbc55.jpg resize: (1080, 1632) 1358816481 -4.98179019746688 treat image : temp/1747369048_2373767_1358816455_485107e20e513bc394e8d7de636800d4.jpg resize: (1080, 1632) 1358816455 -4.912701000936117 treat image : temp/1747369048_2373767_1358816429_c12c7373806142a2ff6486de57d91c01.jpg resize: (1080, 1632) 1358816429 -1.490652740799657 treat image : temp/1747369048_2373767_1358815798_8fe217a2692b6d27adac3157861590f3.jpg resize: (1080, 1632) 1358815798 -5.754020522491626 treat image : temp/1747369048_2373767_1358815705_817e835825dc3f997800e5714853bcbe.jpg resize: (1080, 1632) 1358815705 -3.3523515843152962 treat image : temp/1747369048_2373767_1358815632_6d4480401a66bc7d3d32b7c30d9c0e16.jpg resize: (1080, 1632) 1358815632 -3.6199503940384057 treat image : temp/1747369048_2373767_1358815508_23369873355f301aba4bc51d16df7cab.jpg resize: (1080, 1632) 1358815508 -4.021819215416867 treat image : temp/1747369048_2373767_1358815357_30256cf4ac405f742c2305828343fc5d.jpg resize: (1080, 1632) 1358815357 -0.4444130693167096 treat image : temp/1747369048_2373767_1358814656_8dc7543a5c82a2f53bbfd9fafef07d21.jpg resize: (1080, 1632) 1358814656 -1.4767925354135663 treat image : temp/1747369048_2373767_1358814618_c0a73603f9379f1498ca7999d860f76f.jpg resize: (1080, 1632) 1358814618 -1.8601353427081513 treat image : temp/1747369048_2373767_1358814588_3dc994536125324195874ec36eca6a90.jpg resize: (1080, 1632) 1358814588 -2.385177626978319 treat image : temp/1747369048_2373767_1358814556_43feb3898e0b0d6e475be925fa5c3e73.jpg resize: (1080, 1632) 1358814556 -2.5749918944590333 treat image : temp/1747369048_2373767_1358814544_e48df0caf0ec6fb0c914c5cc760dfc89.jpg resize: (1080, 1632) 1358814544 -3.261984527020957 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.026471614837646484 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.13300752639770508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.25989627838134766 save missing photos in datou_result : time spend for datou_step_exec : 17.858694553375244 time spend to save output : 0.4247002601623535 total time spend for step 1 : 18.283394813537598 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.78user 4.48system 0:22.73elapsed 89%CPU (0avgtext+0avgdata 138728maxresident)k 112inputs+7968outputs (6major+260492minor)pagefaults 0swaps