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 : 1590616 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 : 2283>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1590616/ 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.52885103225708 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 6 19:02:32 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/1746550949_1590616_1356385290_e06b858060961c75a289d22825417e31.jpg resize: (1080, 1632) 1356385290 -6.326675743194379 treat image : temp/1746550949_1590616_1356385283_67d26075fe10bef7adb2ca3d1cfad859.jpg resize: (1080, 1632) 1356385283 -5.594649913663298 treat image : temp/1746550949_1590616_1356385279_2aa2368bb1d7bbadd6ebfeab3aeb6124.jpg resize: (1080, 1632) 1356385279 -6.350050170198683 treat image : temp/1746550949_1590616_1356385163_f33cc354bbab9573d0979b4b0b5df7e9.jpg resize: (1080, 1632) 1356385163 -2.5137114071652387 treat image : temp/1746550949_1590616_1356385118_153504ed340986cd9ab33208ce17b5a5.jpg resize: (1080, 1632) 1356385118 -1.4441146706135632 treat image : temp/1746550949_1590616_1356385081_914289ef90c15f274f905bf544242319.jpg resize: (1080, 1632) 1356385081 -0.320552739815337 treat image : temp/1746550949_1590616_1356384994_a039e3d25207dc261c038c7d741749e3.jpg resize: (1080, 1632) 1356384994 -5.5717705265577395 treat image : temp/1746550949_1590616_1356384965_74dceb66a223e768d52baeec6c3b6469.jpg resize: (1080, 1632) 1356384965 -3.8803302356481053 treat image : temp/1746550949_1590616_1356384913_6d087a6ea2dde9a74532a01d8b8f86e0.jpg resize: (1080, 1632) 1356384913 -3.4834504885366275 treat image : temp/1746550949_1590616_1356384880_be2086846a05c6e46b16fda0f8a71707.jpg resize: (1080, 1632) 1356384880 -1.036092077996572 treat image : temp/1746550949_1590616_1356384743_f4ee04a0b17d835ca60f2929a2afdab3.jpg resize: (1080, 1632) 1356384743 -2.6213235082239272 treat image : temp/1746550949_1590616_1356384713_954ebe939404e8ac0d01adf791a90df1.jpg resize: (1080, 1632) 1356384713 -2.218151629068226 treat image : temp/1746550949_1590616_1356384619_209a2c67c25b82e33442bee2060416dc.jpg resize: (1080, 1632) 1356384619 -4.978038164768714 treat image : temp/1746550949_1590616_1356384589_729ac19dab4e5116adf3410c523d1666.jpg resize: (1080, 1632) 1356384589 -5.718547615699383 treat image : temp/1746550949_1590616_1356384555_2fce149910d08cb67a188eef19b96154.jpg resize: (1080, 1632) 1356384555 -4.885210781474607 treat image : temp/1746550949_1590616_1356384524_5e7ec4799d43f24c03108578b84d52f7.jpg resize: (1080, 1632) 1356384524 -5.907296310430919 treat image : temp/1746550949_1590616_1356384483_bdc254d9d47948bfe92b9640ec4ab290.jpg resize: (1080, 1632) 1356384483 -3.843833810685551 treat image : temp/1746550949_1590616_1356384452_53072564313989e37ea78af0df169e54.jpg resize: (1080, 1632) 1356384452 -1.5151968621288037 treat image : temp/1746550949_1590616_1356379820_e6a56c0add576b7fe0bf8421cb054b24.jpg resize: (1080, 1632) 1356379820 -6.256175439758243 treat image : temp/1746550949_1590616_1356379809_1604288e0adee0fd68a752969e7655c2.jpg resize: (1080, 1632) 1356379809 -6.179700543964492 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.012561798095703125 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.012061595916748047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015166759490966797 save missing photos in datou_result : time spend for datou_step_exec : 15.859210014343262 time spend to save output : 0.044907569885253906 total time spend for step 1 : 15.904117584228516 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 3.62system 0:22.73elapsed 80%CPU (0avgtext+0avgdata 141496maxresident)k 128inputs+9152outputs (3major+197629minor)pagefaults 0swaps