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 : 3107288 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 : 1835>100 please execute split_portfolio.py -i 24628059 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3239073'] with mtr_portfolio_ids : ['24628059'] and first list_photo_ids : [] new path : /proc/3107288/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.1171488761901855 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 Sat Jul 5 04:47: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/1751683649_3107288_1370735262_c5a8ab8c76f2e6bdcc6b2b8a635d3def.jpg resize: (1080, 1632) 1370735262 -4.963571434372642 treat image : temp/1751683649_3107288_1370735261_29ff7b8d02c23c3868ac2cb9c9721a04.jpg resize: (1080, 1632) 1370735261 -4.963571434372642 treat image : temp/1751683649_3107288_1370735260_16388ceb8fd2042d3586f692a934e42c.jpg resize: (1080, 1632) 1370735260 -4.9588680819248045 treat image : temp/1751683649_3107288_1370735259_f42c615cbc96ad5d31a9df0ac0030b0b.jpg resize: (1080, 1632) 1370735259 -4.9588680819248045 treat image : temp/1751683649_3107288_1370735257_ab8ba6e15e94d58b0b920d7c83096797.jpg resize: (1080, 1632) 1370735257 -4.960034631538359 treat image : temp/1751683649_3107288_1370735256_aa3cf0acc411a2de72d0c1b7254e7330.jpg resize: (1080, 1632) 1370735256 -4.960034631538359 treat image : temp/1751683649_3107288_1370735254_e729a2ce2f46b5b1f70df64d104da599.jpg resize: (1080, 1632) 1370735254 -4.9574690395874255 treat image : temp/1751683649_3107288_1370735253_3b5f3ecb14f918d527aa95501d06d866.jpg resize: (1080, 1632) 1370735253 -4.9574690395874255 treat image : temp/1751683649_3107288_1370735251_5044d4acb8e59c6c8728fb383de124a2.jpg resize: (1080, 1632) 1370735251 -4.966206638945126 treat image : temp/1751683649_3107288_1370735250_8949750b7657e89eb2996914c9518f90.jpg resize: (1080, 1632) 1370735250 -4.966206638945126 treat image : temp/1751683649_3107288_1370735247_d4cf366da23efba22167ff2f531c48cd.jpg resize: (1080, 1632) 1370735247 -4.9702179090650205 treat image : temp/1751683649_3107288_1370735246_cedcb0e1f9d0b5a4cd3d8e29742c7b8f.jpg resize: (1080, 1632) 1370735246 -4.9702179090650205 treat image : temp/1751683649_3107288_1370735210_74bbf1dda4f66e5c4699b14a912a260b.jpg resize: (1080, 1632) 1370735210 -4.96264100444157 treat image : temp/1751683649_3107288_1370735205_c294764978d6941b436e0168d5679725.jpg resize: (1080, 1632) 1370735205 -4.958833651176162 treat image : temp/1751683649_3107288_1370735200_654299a5f26edb7a37404fc5670c062a.jpg resize: (1080, 1632) 1370735200 -4.959321825818581 treat image : temp/1751683649_3107288_1370735197_a5975af7d5e03dbb2596f5c115fa2ebb.jpg resize: (1080, 1632) 1370735197 -4.959507407039525 treat image : temp/1751683649_3107288_1370735194_60ba0786e7356781b0a51ff70c9e168b.jpg resize: (1080, 1632) 1370735194 -4.965424800463802 treat image : temp/1751683649_3107288_1370735191_0ba296de108fc1551078b05037f107c4.jpg resize: (1080, 1632) 1370735191 -4.96676482353509 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 : 18 time used for this insertion : 0.01583075523376465 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01589369773864746 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.020956039428710938 save missing photos in datou_result : time spend for datou_step_exec : 15.542098045349121 time spend to save output : 0.05734753608703613 total time spend for step 1 : 15.599445581436157 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.70user 5.62system 0:21.28elapsed 86%CPU (0avgtext+0avgdata 137760maxresident)k 112inputs+8232outputs (3major+239191minor)pagefaults 0swaps