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 : 324172 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 updating current state to 1 we have a portfolio with more photos than limit : 200>100 please execute split_portfolio.py -i 26354267 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3639781'] with mtr_portfolio_ids : ['26354267'] and first list_photo_ids : [] new path : /proc/324172/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 2.3667774200439453 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 Aug 30 00:47:32 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/1756507649_324172_1380215566_4c6b8e6d4cae4ab2fb5f4160f43412d2_96411525.jpg resize: (1080, 1632) 1380215566 -5.424482995450274 treat image : temp/1756507649_324172_1380215565_7911178b04cad0e0866e9c94abc5e4cc_84826682.jpg resize: (1080, 1632) 1380215565 -5.293498205906176 treat image : temp/1756507649_324172_1380215564_63817ca2d0380a6e908e5dcce82f4530_32834727.jpg resize: (1080, 1632) 1380215564 -4.69311248266384 treat image : temp/1756507649_324172_1380215563_fc5929e751e1d6de21c5f3befeb6b993_21755461.jpg resize: (1080, 1632) 1380215563 -3.2498449248614607 treat image : temp/1756507649_324172_1380215562_7cdf7e70ca0d195ee4a1c55ba7a2372c_69426160.jpg resize: (1080, 1632) 1380215562 -5.601264016451209 treat image : temp/1756507649_324172_1380215561_7714df3e493b59f90a957a8669c63915_21223296.jpg resize: (1080, 1632) 1380215561 -4.5561866807068 treat image : temp/1756507649_324172_1380215528_329a732d20b99ad5cd20f3c055f0d7fc_68072582.jpg resize: (1080, 1632) 1380215528 -5.197040904497937 treat image : temp/1756507649_324172_1380215527_ce7b43b45e587180a9d95852c1d41fdd_85260052.jpg resize: (1080, 1632) 1380215527 -5.094573340186604 treat image : temp/1756507649_324172_1380215526_830ce5f64536ab332693ef9ac2c9f57a_53789580.jpg resize: (1080, 1632) 1380215526 -5.165670884756128 treat image : temp/1756507649_324172_1380215525_f639735c00b492d2e9c7afc2813cc7c0_93003181.jpg resize: (1080, 1632) 1380215525 -5.31900868253271 treat image : temp/1756507649_324172_1380215524_6820bf2701f9ff4206d75c7feffde197_49351564.jpg resize: (1080, 1632) 1380215524 -5.149870530328953 treat image : temp/1756507649_324172_1380215492_e65aa289aec05b88c1d210d9a0eec537_97475552.jpg resize: (1080, 1632) 1380215492 -5.0972551644292245 treat image : temp/1756507649_324172_1380215491_d7da3e804bedb5ad6115088786a9351d_2906448.jpg resize: (1080, 1632) 1380215491 -5.889635960938693 treat image : temp/1756507649_324172_1380215490_de7ae167f34db751f1e55d82da8f4b01_14848972.jpg resize: (1080, 1632) 1380215490 -5.337366000184787 treat image : temp/1756507649_324172_1380215489_f700a2083729989feb66017bfbb18c05_28365715.jpg resize: (1080, 1632) 1380215489 -5.017566983020965 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 : 15 time used for this insertion : 0.014547348022460938 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.015911579132080078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.016956329345703125 save missing photos in datou_result : time spend for datou_step_exec : 11.506693124771118 time spend to save output : 0.05199599266052246 total time spend for step 1 : 11.55868911743164 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.21user 2.53system 0:17.95elapsed 76%CPU (0avgtext+0avgdata 139872maxresident)k 3104inputs+7448outputs (33major+208650minor)pagefaults 0swaps