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 : 1014647 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 : 1697>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1014647/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.1950576305389404 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 Sep 9 12:02: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/1757412148_1014647_1382764554_67561315bdb44619cda93e90096da4c2.jpg resize: (1080, 1632) 1382764554 -4.942764063276303 treat image : temp/1757412148_1014647_1382764544_751b70161e5137adef61b9d05215d8ff.jpg resize: (1080, 1632) 1382764544 -3.7743028579590923 treat image : temp/1757412148_1014647_1382764517_60160e48de70ecf084a1a8872fd62c33.jpg resize: (1080, 1632) 1382764517 -4.715383544384427 treat image : temp/1757412148_1014647_1382764489_8f45f5859cf3db2ffa859aa3c3353665.jpg resize: (1080, 1632) 1382764489 -2.908446019178803 treat image : temp/1757412148_1014647_1382764458_46147ae60807b861b173c1c5b3cc8f4f.jpg resize: (1080, 1632) 1382764458 -5.922161848501612 treat image : temp/1757412148_1014647_1382764456_407e33b4a71f69998c7a39da7a2707f0.jpg resize: (1080, 1632) 1382764456 -3.532894927198753 treat image : temp/1757412148_1014647_1382764331_579fe16d3c1ad859ccf94279231ddc5e.jpg resize: (1080, 1632) 1382764331 -1.9986826842736236 treat image : temp/1757412148_1014647_1382764295_0b6ede8af2cb5020174906ce19ac05e4.jpg resize: (1080, 1632) 1382764295 -1.9986826842736236 treat image : temp/1757412148_1014647_1382764250_2773dedeeeca0930b05d6f8b111e493a.jpg resize: (1080, 1632) 1382764250 -5.52878196796635 treat image : temp/1757412148_1014647_1382764229_2a1d050ab7e99433f14485bf1aa48837.jpg resize: (1080, 1632) 1382764229 -5.52878196796635 treat image : temp/1757412148_1014647_1382764170_58c1b8f06a140e3682369b383b88169b.jpg resize: (1080, 1632) 1382764170 -4.9189519097635825 treat image : temp/1757412148_1014647_1382764164_88cc6a205889c496583c9a47a3ed43be.jpg resize: (1080, 1632) 1382764164 -4.9189519097635825 treat image : temp/1757412148_1014647_1382764117_be7ae320ac5a4c5f0b67c4e3103a9b57.jpg resize: (1080, 1632) 1382764117 -4.792962393384527 treat image : temp/1757412148_1014647_1382764114_e49b2202fa2e4f884127205592fbda54.jpg resize: (1080, 1632) 1382764114 -4.792962393384527 treat image : temp/1757412148_1014647_1382764062_9a0a5df9a767d2d45a623bfcee6b5fd6.jpg resize: (1080, 1632) 1382764062 -4.98818699713483 treat image : temp/1757412148_1014647_1382764061_81cad8ea08c845db2494806f59a965a5.jpg resize: (1080, 1632) 1382764061 -4.98818699713483 treat image : temp/1757412148_1014647_1382763795_2d96d6563954fe0f032ffa0ef6a4641f.jpg resize: (1080, 1632) 1382763795 -1.852131337253729 treat image : temp/1757412148_1014647_1382763746_fdf127d9375644ce44add929b5e6216b.jpg resize: (1080, 1632) 1382763746 -2.6421447834564917 treat image : temp/1757412148_1014647_1382763694_c7ff059b5c713f04d1ed5e5d9099094f.jpg resize: (1080, 1632) 1382763694 -1.766035697330517 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 : 19 time used for this insertion : 0.014395475387573242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.10562324523925781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.1141200065612793 save missing photos in datou_result : time spend for datou_step_exec : 16.046942710876465 time spend to save output : 0.23962187767028809 total time spend for step 1 : 16.286564588546753 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 13.34user 4.92system 0:21.56elapsed 84%CPU (0avgtext+0avgdata 139536maxresident)k 3840inputs+8616outputs (39major+248683minor)pagefaults 0swaps