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 : 2537628 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 : 2027>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2537628/ 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.258319616317749 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 May 20 14:17: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/1747743448_2537628_1359808505_76d6d88b5b1aa632cfe7a62b6fa78b3e.jpg resize: (1080, 1632) 1359808505 -4.0454681552589555 treat image : temp/1747743448_2537628_1359808487_8f2c04adbf6ce87f8e6f35c700d585b2.jpg resize: (1080, 1632) 1359808487 -1.331953993058328 treat image : temp/1747743448_2537628_1359808483_f4ccfba661e8b7d34445cbc95c2b6cdb.jpg resize: (1080, 1632) 1359808483 -1.5538460459355707 treat image : temp/1747743448_2537628_1359808478_de9ab0f9f6de662a592d66213fb3eaa9.jpg resize: (1080, 1632) 1359808478 -2.5461545502110177 treat image : temp/1747743448_2537628_1359808473_6f50f6e7528019db250637aaeb0ab3a1.jpg resize: (1080, 1632) 1359808473 -2.6233507244321186 treat image : temp/1747743448_2537628_1359808468_be2ee70ba86b52e06bbb5ed3017c17d2.jpg resize: (1080, 1632) 1359808468 -3.0712405404805105 treat image : temp/1747743448_2537628_1359808440_f97f8241b94099168607f2766d3df907.jpg resize: (1080, 1632) 1359808440 -5.045876801451252 treat image : temp/1747743448_2537628_1359808436_32a722f3b579b8b07c21184cae18947a.jpg resize: (1080, 1632) 1359808436 -4.450380978730716 treat image : temp/1747743448_2537628_1359808432_9c5ded98d087b4fb4b045c3540d83416.jpg resize: (1080, 1632) 1359808432 -5.055839714146388 treat image : temp/1747743448_2537628_1359808429_932b94b5428b1f54dc2e29c1efbca406.jpg resize: (1080, 1632) 1359808429 -4.501615604357995 treat image : temp/1747743448_2537628_1359808426_47bf286108ffbb4c700df99a1693c3db.jpg resize: (1080, 1632) 1359808426 -4.789147911250659 treat image : temp/1747743448_2537628_1359808423_14d74d59df8500cce63d1b9ba71ad9ff.jpg resize: (1080, 1632) 1359808423 -3.846519885573579 treat image : temp/1747743448_2537628_1359808396_fff97fd1b475676a909acbc98512d04d.jpg resize: (1080, 1632) 1359808396 -1.4465398204969495 treat image : temp/1747743448_2537628_1359808386_19cfcc76d639347d82f1c7adf19a5c4d.jpg resize: (1080, 1632) 1359808386 -3.686280621296615 treat image : temp/1747743448_2537628_1359808376_d7b1b22bfd562c320693fe49ef7e71e8.jpg resize: (1080, 1632) 1359808376 -4.332722955540708 treat image : temp/1747743448_2537628_1359808369_69fd5e656c927ea37432494459e155f8.jpg resize: (1080, 1632) 1359808369 -4.970912530684642 treat image : temp/1747743448_2537628_1359808367_89576bf2f9768037d4ade6d7ab983097.jpg resize: (1080, 1632) 1359808367 -5.358703861059783 treat image : temp/1747743448_2537628_1359808338_70954cd2868b63eaf267cf77f7f4250d.jpg resize: (1080, 1632) 1359808338 -4.523243789571623 treat image : temp/1747743448_2537628_1359808335_a67e22888ac1722e4437c2702ed3df9f.jpg resize: (1080, 1632) 1359808335 -4.54018369537325 treat image : temp/1747743448_2537628_1359808333_3de694e526a181b842924abe3bb942b8.jpg resize: (1080, 1632) 1359808333 -1.7798358212571797 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.6085128784179688 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.11589479446411133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020766019821166992 save missing photos in datou_result : time spend for datou_step_exec : 17.65970468521118 time spend to save output : 0.7499287128448486 total time spend for step 1 : 18.40963339805603 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 5.59system 0:23.39elapsed 86%CPU (0avgtext+0avgdata 139036maxresident)k 104inputs+8136outputs (15major+263144minor)pagefaults 0swaps