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 : 1010442 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 : 3335>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/1010442/ 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 : 3.0061662197113037 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 Sat Mar 22 13:12:29 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/1742645546_1010442_1346362827_c060ec4288e2c3c36d6ed18b1e273a7f.jpg resize: (1080, 1632) 1346362827 -4.995105275670202 treat image : temp/1742645546_1010442_1346362812_86ad742226186ccbe47279f83e9af92f.jpg resize: (1080, 1632) 1346362812 -6.465327277281344 treat image : temp/1742645546_1010442_1346362806_1cd7feadaea571d97fb8b5f20725cf43.jpg resize: (1080, 1632) 1346362806 -5.584944580286242 treat image : temp/1742645546_1010442_1346362802_efb358e171622c95455241c3d6e6fc67.jpg resize: (1080, 1632) 1346362802 -5.763038124402089 treat image : temp/1742645546_1010442_1346362757_353ea22a315f8a1056875de3a5d51647.jpg resize: (1080, 1632) 1346362757 -3.9850700616756263 treat image : temp/1742645546_1010442_1346362724_b8a46072f3ff9b47369aa3f4c57fe256.jpg resize: (1080, 1632) 1346362724 -6.116064559432514 treat image : temp/1742645546_1010442_1346362702_3fecfb781ac05dbe9cc889c12a5e94d4.jpg resize: (1080, 1632) 1346362702 -6.121947581509009 treat image : temp/1742645546_1010442_1346362660_001eae8ba8de96690f11fa0a4e75fa10.jpg resize: (1080, 1632) 1346362660 -2.194324700496618 treat image : temp/1742645546_1010442_1346362649_6aa96cb8886b94d23c64c0253b29a8e1.jpg resize: (1080, 1632) 1346362649 -3.158518756536203 treat image : temp/1742645546_1010442_1346362625_f0d88a96eaffd184edf1483158690d7a.jpg resize: (1080, 1632) 1346362625 -4.979385106577697 treat image : temp/1742645546_1010442_1346362622_ca2ae66673ff284d22730e4255b99eb8.jpg resize: (1080, 1632) 1346362622 -4.34603486106029 treat image : temp/1742645546_1010442_1346362598_95440ab17fefa1642f1ca3a4c74f5a92.jpg resize: (1080, 1632) 1346362598 -5.519365923941362 treat image : temp/1742645546_1010442_1346362590_80337a4b6f3383627d31ffdb13c9fc14.jpg resize: (1080, 1632) 1346362590 -6.206077129682233 treat image : temp/1742645546_1010442_1346361346_922a662493009af536b5879d1afe65a5.jpg resize: (1080, 1632) 1346361346 -5.110506263584544 treat image : temp/1742645546_1010442_1346361342_a90eaea2ce4e5c48da726fa6d561953c.jpg resize: (1080, 1632) 1346361342 -5.102609596686669 treat image : temp/1742645546_1010442_1346361336_bdeff541c20eff5a011e9aa95ec97c09.jpg resize: (1080, 1632) 1346361336 -5.728368882193906 treat image : temp/1742645546_1010442_1346361331_6d40df77b428b22eaf06cc6881b45d86.jpg resize: (1080, 1632) 1346361331 -5.5893132772102705 treat image : temp/1742645546_1010442_1346361287_8d125704280d0c54773780de5f663424.jpg resize: (1080, 1632) 1346361287 -4.125169002423175 treat image : temp/1742645546_1010442_1346361273_8393d5fe8f518006e34a717ea5a54c41.jpg resize: (1080, 1632) 1346361273 -5.802520238893933 treat image : temp/1742645546_1010442_1346361269_813695ae1feafa092a89edb590d5b5d5.jpg resize: (1080, 1632) 1346361269 -5.83274665117638 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.012675046920776367 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.012152910232543945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014881134033203125 save missing photos in datou_result : time spend for datou_step_exec : 17.315755367279053 time spend to save output : 0.04477214813232422 total time spend for step 1 : 17.360527515411377 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 5.27system 0:22.04elapsed 87%CPU (0avgtext+0avgdata 138928maxresident)k 152inputs+10720outputs (5major+259983minor)pagefaults 0swaps