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 : 3477424 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 : 8261>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3477424/ 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.6904571056365967 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 Jul 31 20:32: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/1753986747_3477424_1374644203_f9954c030378be01f3987879c0c8384f.jpg resize: (1080, 1632) 1374644203 -4.632604614531005 treat image : temp/1753986747_3477424_1374644200_a361356648b32748da1c956c83b10e9b.jpg resize: (1080, 1632) 1374644200 -0.8096880316810201 treat image : temp/1753986747_3477424_1374644199_71a83974508101b57d43f8f8b4372c6c.jpg resize: (1080, 1632) 1374644199 -5.813647641048517 treat image : temp/1753986747_3477424_1374644197_19fada8e2bcd3166be9fe48fcec29ee8.jpg resize: (1080, 1632) 1374644197 -4.755534691159451 treat image : temp/1753986747_3477424_1374644194_590446624ce8099aed7af7c477763f9a.jpg resize: (1080, 1632) 1374644194 -3.624090074241294 treat image : temp/1753986747_3477424_1374644192_e203f5110b9c26dd82ddd5897268393f.jpg resize: (1080, 1632) 1374644192 -5.3397941140344 treat image : temp/1753986747_3477424_1374644186_27d6b7fd0d09626d644a3199c5b0bc5a.jpg resize: (1080, 1632) 1374644186 -5.521281997476603 treat image : temp/1753986747_3477424_1374644185_e9026743086c9786f61d80ed5467385b.jpg resize: (1080, 1632) 1374644185 -4.874863228538477 treat image : temp/1753986747_3477424_1374644183_87fa4be4bebbd9f38faf3e6dc9cf8591.jpg resize: (1080, 1632) 1374644183 -3.772935314409839 treat image : temp/1753986747_3477424_1374644182_6d9dcbdd5d9d4cef7e661f444f38b5bb.jpg resize: (1080, 1632) 1374644182 -4.832910003887255 treat image : temp/1753986747_3477424_1374644180_218b1a7350b9b0a16bf9d60238827d91.jpg resize: (1080, 1632) 1374644180 -3.9105666208020025 treat image : temp/1753986747_3477424_1374644178_cc7ce3633e9a5af13ad5ab9bb8ac447f.jpg resize: (1080, 1632) 1374644178 -5.448882145218081 treat image : temp/1753986747_3477424_1374644158_eb8457622d52d7bd6bbc6b24e44adff6.jpg resize: (1080, 1632) 1374644158 -5.521281997476603 treat image : temp/1753986747_3477424_1374644157_9820f8a8e345856ff991d1a7347875e1.jpg resize: (1080, 1632) 1374644157 -4.874863228538477 treat image : temp/1753986747_3477424_1374644154_f053ef2e94516c9210a9fb42c894f3aa.jpg resize: (1080, 1632) 1374644154 -3.772935314409839 treat image : temp/1753986747_3477424_1374644149_784fa60ad8da58489c9cfb26a2e4dd36.jpg resize: (1080, 1632) 1374644149 -4.832910003887255 treat image : temp/1753986747_3477424_1374644147_9b49e7efa734237ffbed01d0ed0e6183.jpg resize: (1080, 1632) 1374644147 -3.9105666208020025 treat image : temp/1753986747_3477424_1374644143_f2b4a78f0392770b8834ab1d73c2ead5.jpg resize: (1080, 1632) 1374644143 -5.448882145218081 treat image : temp/1753986747_3477424_1374644130_47ad3009750a4287e6a30afe857c829a.jpg resize: (1080, 1632) 1374644130 -2.6001901464212787 treat image : temp/1753986747_3477424_1374644126_95b833b46b26e9b5cb277fd573330f31.jpg resize: (1080, 1632) 1374644126 -3.232789684756843 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.013670206069946289 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.013365745544433594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014510631561279297 save missing photos in datou_result : time spend for datou_step_exec : 14.596351623535156 time spend to save output : 0.046704769134521484 total time spend for step 1 : 14.643056392669678 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 2.74system 0:20.85elapsed 82%CPU (0avgtext+0avgdata 136712maxresident)k 104inputs+9632outputs (1major+175656minor)pagefaults 0swaps