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 : 1526039 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 : 2851>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1526039/ 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.5462121963500977 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 Thu Sep 4 18: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/1757004449_1526039_1381470650_3e587efdd2c02348f92e3fa4ffd8474a_49107071.jpg resize: (1080, 1632) 1381470650 -4.700586759806076 treat image : temp/1757004449_1526039_1381470648_300e2957705321e55576d6b25e0c55bd_45072518.jpg resize: (1080, 1632) 1381470648 -4.836498268428496 treat image : temp/1757004449_1526039_1381470646_bf703bdbc5fb83a2ccbcb5cb283cdf18_7719395.jpg resize: (1080, 1632) 1381470646 -5.478256188197545 treat image : temp/1757004449_1526039_1381470644_d008ba78165dc8870e9e0ee86988a208_29224264.jpg resize: (1080, 1632) 1381470644 -3.4404434658404637 treat image : temp/1757004449_1526039_1381470642_0378d176b675312fe94accefb28b043b_60178001.jpg resize: (1080, 1632) 1381470642 -4.801264469328987 treat image : temp/1757004449_1526039_1381470640_46894db16673743aba7a9e44d5864626_78124570.jpg resize: (1080, 1632) 1381470640 -4.9654238562389414 treat image : temp/1757004449_1526039_1381470466_d4d6cd71b09f3f0e4c6872b36c06152e_32238391.jpg resize: (1080, 1632) 1381470466 -6.239301956054163 treat image : temp/1757004449_1526039_1381470465_7f392e86857cdde2ac993480d746fdcf_23218183.jpg resize: (1080, 1632) 1381470465 -5.5651329321481455 treat image : temp/1757004449_1526039_1381470464_70ce940d5c6ff223932eec854b75d2fc_97494389.jpg resize: (1080, 1632) 1381470464 -2.7097509901050763 treat image : temp/1757004449_1526039_1381470463_7f528e2b22e254c3adb70a73dd893edb_6604199.jpg resize: (1080, 1632) 1381470463 -4.9664933515921765 treat image : temp/1757004449_1526039_1381470462_8991c193a268b568986879b6971d2117_22477842.jpg resize: (1080, 1632) 1381470462 -4.602603081649667 treat image : temp/1757004449_1526039_1381446469_7741aa1e19b02df9c5418cff295f2780_7265167.jpg resize: (1080, 1632) 1381446469 -5.815043396011308 treat image : temp/1757004449_1526039_1381446467_7a12ede69453b680824c8f52234db0d0_8339432.jpg resize: (1080, 1632) 1381446467 -4.852243477388161 treat image : temp/1757004449_1526039_1381446459_5106bf8f88fe36723d5aa39192b9ad48_11824535.jpg resize: (1080, 1632) 1381446459 -3.2920162115775167 treat image : temp/1757004449_1526039_1381446458_46e5cce0667ceb0c6f0fea6f8f4c1c68_5719790.jpg resize: (1080, 1632) 1381446458 -1.2129444115283157 treat image : temp/1757004449_1526039_1381446457_923fa28f057bbe189223e5f7195f8ecd_15360027.jpg resize: (1080, 1632) 1381446457 -1.847982711656872 treat image : temp/1757004449_1526039_1381446456_da8e8460abe1fd6840bba5f4d9abf360_62810589.jpg resize: (1080, 1632) 1381446456 -5.154658943470936 treat image : temp/1757004449_1526039_1381446455_8a010d3a1ea89defff4c2a8082b586b3_31864173.jpg resize: (1080, 1632) 1381446455 -5.405961814626261 treat image : temp/1757004449_1526039_1381446454_9b861bf4865610b3d07f084e48951166_21665987.jpg resize: (1080, 1632) 1381446454 -4.072389891048233 treat image : temp/1757004449_1526039_1381446448_bf43ca8fa9cdc4c6efc92637d4ca3fde_11570328.jpg resize: (1080, 1632) 1381446448 -5.094154707051566 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.03605508804321289 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.035814762115478516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03952336311340332 save missing photos in datou_result : time spend for datou_step_exec : 16.747843265533447 time spend to save output : 0.12958121299743652 total time spend for step 1 : 16.877424478530884 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 3.81system 0:23.89elapsed 76%CPU (0avgtext+0avgdata 140120maxresident)k 19360inputs+9368outputs (1325major+259997minor)pagefaults 0swaps