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 : 1920167 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 : 4242>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1920167/ 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.7896697521209717 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 Tue Jul 8 11:57: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/1751968647_1920167_1371149326_119b1a17ebbe279fff3c13eb69f8bfe7.jpg resize: (1080, 1632) 1371149326 -5.072494875310177 treat image : temp/1751968647_1920167_1371149321_6979677b0741a0adc17580193065440f.jpg resize: (1080, 1632) 1371149321 -1.9613313546227749 treat image : temp/1751968647_1920167_1371149317_019952ebf685466e1f8441cdc886df05.jpg resize: (1080, 1632) 1371149317 -2.72210481130962 treat image : temp/1751968647_1920167_1371149314_701819cba1797b73447842afa6648cc0.jpg resize: (1080, 1632) 1371149314 -2.684892955295759 treat image : temp/1751968647_1920167_1371149311_d5e1c28a6927b4e4dbe12fd3ea96bf23.jpg resize: (1080, 1632) 1371149311 -2.724641760003241 treat image : temp/1751968647_1920167_1371149300_bd5d26daefe5530c9009d91f9e263efc.jpg resize: (1080, 1632) 1371149300 -5.570196484960959 treat image : temp/1751968647_1920167_1371149297_785588f559d10386cdc753eed0b39804.jpg resize: (1080, 1632) 1371149297 -5.570971075643751 treat image : temp/1751968647_1920167_1371149295_97a39f20899611ac82d8bb54604cb08c.jpg resize: (1080, 1632) 1371149295 -3.667988212977266 treat image : temp/1751968647_1920167_1371149293_b57c43572dd01d900212a1bf39b2426f.jpg resize: (1080, 1632) 1371149293 -6.037193022989265 treat image : temp/1751968647_1920167_1371149291_a75943537092e0395d473ce651933cea.jpg resize: (1080, 1632) 1371149291 -6.027989390930637 treat image : temp/1751968647_1920167_1371149288_096bfa9a1d0a350c111ee4e4fb2035bb.jpg resize: (1080, 1632) 1371149288 -6.008371639222751 treat image : temp/1751968647_1920167_1371149280_102d61f6ece75f6e6bd6a55a78b65e89.jpg resize: (1080, 1632) 1371149280 -5.227734314913308 treat image : temp/1751968647_1920167_1371149277_98b6676b628f057e452454ccc057e77f.jpg resize: (1080, 1632) 1371149277 -5.273618195676809 treat image : temp/1751968647_1920167_1371149273_c4852a6fe667fb1944aeff70099e41f8.jpg resize: (1080, 1632) 1371149273 -5.224813737062764 treat image : temp/1751968647_1920167_1371149271_3ddd67851fe61ffc57c12ccdd3a4a20f.jpg resize: (1080, 1632) 1371149271 -5.187234594444593 treat image : temp/1751968647_1920167_1371149268_adf702d7d9a7a30adfad58ef32e02a68.jpg resize: (1080, 1632) 1371149268 -5.176487809243327 treat image : temp/1751968647_1920167_1371149266_9eb3445bbd8a84a3b00f2cbee33e047b.jpg resize: (1080, 1632) 1371149266 -5.346251424939256 treat image : temp/1751968647_1920167_1371149244_2749aca99fb36247c2e1a0458c21ea19.jpg resize: (1080, 1632) 1371149244 -4.885923409798658 treat image : temp/1751968647_1920167_1371149242_cce9fb691af86dc63b8eac5133448653.jpg resize: (1080, 1632) 1371149242 -4.64317388253699 treat image : temp/1751968647_1920167_1371149238_b91d65333fb779318081b5750ab5e67c.jpg resize: (1080, 1632) 1371149238 -5.5350573410495585 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.017017364501953125 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.015639543533325195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01802802085876465 save missing photos in datou_result : time spend for datou_step_exec : 14.095447540283203 time spend to save output : 0.05502963066101074 total time spend for step 1 : 14.150477170944214 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.28user 3.19system 0:20.53elapsed 80%CPU (0avgtext+0avgdata 139768maxresident)k 56inputs+9776outputs (0major+260082minor)pagefaults 0swaps