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 : 573553 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 : 7850>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/573553/ 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.1457691192626953 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 1 08:27: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/1754029649_573553_1374725612_8485ae1bec1475ba518f0d892ddff56d.jpg resize: (1080, 1632) 1374725612 -5.072656612474713 treat image : temp/1754029649_573553_1374725610_9cd1dd6cbb13258921933ec6dd261dd6.jpg resize: (1080, 1632) 1374725610 -5.627794531916123 treat image : temp/1754029649_573553_1374725609_a853f0fae0ccf19d6fbeaa9a0b3a234c.jpg resize: (1080, 1632) 1374725609 -3.8574701127790485 treat image : temp/1754029649_573553_1374725608_f2f09b3a83d3eaff6a4abda8918a0951.jpg resize: (1080, 1632) 1374725608 -1.2991798391198397 treat image : temp/1754029649_573553_1374725607_2623f049154ed1e5f0841d5e25b402ae.jpg resize: (1080, 1632) 1374725607 -3.110296244745683 treat image : temp/1754029649_573553_1374725605_c436dc9814edfc9df2a034b3dbebe697.jpg resize: (1080, 1632) 1374725605 -4.826278270628422 treat image : temp/1754029649_573553_1374725542_0ebd6ee44e8c82f4656e0c96bc7c4d0a.jpg resize: (1080, 1632) 1374725542 -5.154290611570335 treat image : temp/1754029649_573553_1374725540_fcd5960a8d4d0ffab22715348f5b7970.jpg resize: (1080, 1632) 1374725540 -5.1647547331054495 treat image : temp/1754029649_573553_1374725538_3fb4ba6e62ca86e26855efbfca7ca6a1.jpg resize: (1080, 1632) 1374725538 -5.922217958932364 treat image : temp/1754029649_573553_1374725535_9630c3a2cc24e7cacfd3bff29ba82caf.jpg resize: (1080, 1632) 1374725535 -6.061329978797881 treat image : temp/1754029649_573553_1374725530_d977d843d43c762eb9c2076d846aa54d.jpg resize: (1080, 1632) 1374725530 -4.38871060537134 treat image : temp/1754029649_573553_1374725528_aa36c6b7f5366faf44e22686a66dd510.jpg resize: (1080, 1632) 1374725528 -3.591689824536796 treat image : temp/1754029649_573553_1374725527_d2cf044ac119f4733e9e2d55995b9ecb.jpg resize: (1080, 1632) 1374725527 -1.31758817818382 treat image : temp/1754029649_573553_1374725526_5c898230ff17b3e88c15a4bb1c57cdde.jpg resize: (1080, 1632) 1374725526 -1.8065207778838277 treat image : temp/1754029649_573553_1374725524_3a875dbda0c7e2525bbc1efece932137.jpg resize: (1080, 1632) 1374725524 -3.6674289309245887 treat image : temp/1754029649_573553_1374725520_c37aad0cc38dc3a0732c736c23a2fc6a.jpg resize: (1080, 1632) 1374725520 -5.071719851758483 treat image : temp/1754029649_573553_1374725365_520780ced7957573e6d986064edabbf3.jpg resize: (1080, 1632) 1374725365 -4.350305867679217 treat image : temp/1754029649_573553_1374725341_7ba2da1e7c48618ba002d2c5d0380a33.jpg resize: (1080, 1632) 1374725341 -5.176569705727972 treat image : temp/1754029649_573553_1374725319_b360b2e96a4f323b33b3dc5e3cb6822d.jpg resize: (1080, 1632) 1374725319 -4.094850142934443 treat image : temp/1754029649_573553_1374725294_0072ca60959e070a5d277810137af5ae.jpg resize: (1080, 1632) 1374725294 -6.032748406135717 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.011879205703735352 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.07794618606567383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015851974487304688 save missing photos in datou_result : time spend for datou_step_exec : 15.083479642868042 time spend to save output : 0.11085748672485352 total time spend for step 1 : 15.194337129592896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.81system 0:21.46elapsed 82%CPU (0avgtext+0avgdata 139008maxresident)k 8inputs+9336outputs (9major+260082minor)pagefaults 0swaps