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 : 1355115 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 : 2576>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/1355115/ 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.755825996398926 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 15:57: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/1757426248_1355115_1382781241_0889529ba2c825b5e688b4de75245229.jpg resize: (1080, 1632) 1382781241 -3.7723224321034907 treat image : temp/1757426248_1355115_1382781235_8b7453c8543186238c45a1157b112546.jpg resize: (1080, 1632) 1382781235 -1.5414192666778044 treat image : temp/1757426248_1355115_1382781234_658d0bcc2325f980e6e0674bd7557eeb.jpg resize: (1080, 1632) 1382781234 -3.054107895159429 treat image : temp/1757426248_1355115_1382781228_ec44721613b0fb316d74d778048b9fd0.jpg resize: (1080, 1632) 1382781228 -5.41316582987496 treat image : temp/1757426248_1355115_1382781224_4ff3c7b986eec16ceee3799a6d874ead.jpg resize: (1080, 1632) 1382781224 -2.0132583219073363 treat image : temp/1757426248_1355115_1382781220_536cb995e863a5cfa9af71ae1bbf1031.jpg resize: (1080, 1632) 1382781220 -0.961107452259444 treat image : temp/1757426248_1355115_1382781217_3cab0cde2d5fa05e1529577f6f56e53b.jpg resize: (1080, 1632) 1382781217 -4.059893669193016 treat image : temp/1757426248_1355115_1382781214_898cb415e987691d47d420e898ed454b.jpg resize: (1080, 1632) 1382781214 -5.204506029940535 treat image : temp/1757426248_1355115_1382781213_84757c9ce39302783d08d558d1bdcd4f.jpg resize: (1080, 1632) 1382781213 -6.135105889890111 treat image : temp/1757426248_1355115_1382781205_5715ecf368045b34053943df292e2abd.jpg resize: (1080, 1632) 1382781205 -4.043231061730257 treat image : temp/1757426248_1355115_1382781201_0d84db55023e49931157da1859fbc668.jpg resize: (1080, 1632) 1382781201 -3.8852528938251227 treat image : temp/1757426248_1355115_1382781197_5eb82f4cb976a70f9f13d5aa9ba70c8e.jpg resize: (1080, 1632) 1382781197 -5.8492207881800224 treat image : temp/1757426248_1355115_1382781192_d818767292aaf09e4cc3de5e4d262fbb.jpg resize: (1080, 1632) 1382781192 -5.254793673045729 treat image : temp/1757426248_1355115_1382781189_c5fff9294bcdf64b3342761cc4f60bf6.jpg resize: (1080, 1632) 1382781189 -3.0455098383321224 treat image : temp/1757426248_1355115_1382781187_3393aba9adf26727a0b830c06ad41738.jpg resize: (1080, 1632) 1382781187 -0.7905467018869657 treat image : temp/1757426248_1355115_1382781160_7c99693fb00ed0cbbcdd06a200e4cc1d.jpg resize: (1080, 1632) 1382781160 -3.7723224321034907 treat image : temp/1757426248_1355115_1382781155_952e053156c896bb691e1b334aeb9803.jpg resize: (1080, 1632) 1382781155 -1.5414192666778044 treat image : temp/1757426248_1355115_1382781151_197e9c3b178ceb11c0180f2541988711.jpg resize: (1080, 1632) 1382781151 -3.054107895159429 treat image : temp/1757426248_1355115_1382781147_d9b3122c14a00502cbcaf52e4350d006.jpg resize: (1080, 1632) 1382781147 -5.41316582987496 treat image : temp/1757426248_1355115_1382781125_c8a2f2591c57134e378508e3f9d8e824.jpg resize: (1080, 1632) 1382781125 -2.621221524398374 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.045296430587768555 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.04331159591674805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.047852516174316406 save missing photos in datou_result : time spend for datou_step_exec : 14.577547073364258 time spend to save output : 0.15767240524291992 total time spend for step 1 : 14.735219478607178 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.95user 3.05system 0:20.82elapsed 81%CPU (0avgtext+0avgdata 138816maxresident)k 160inputs+8880outputs (4major+259863minor)pagefaults 0swaps