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 : 1620847 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 : 850>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1620847/ 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.230592966079712 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 Wed May 21 07:57: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/1747807050_1620847_1359974234_84a414150bfa3d07bf55bc4fa40de65f.jpg resize: (1080, 1632) 1359974234 -3.7626961492155755 treat image : temp/1747807050_1620847_1359974228_03996c3f67be4735092666d4f52c0317.jpg resize: (1080, 1632) 1359974228 -5.028557173065448 treat image : temp/1747807050_1620847_1359974199_c5e0b9f22dca88ec555ee5c17d94524b.jpg resize: (1080, 1632) 1359974199 -4.880515975222297 treat image : temp/1747807050_1620847_1359974033_89a5d67604d52693418e95016b678abb.jpg resize: (1080, 1632) 1359974033 -6.100709175912502 treat image : temp/1747807050_1620847_1359974002_5e03d6294e62d783f742ed34d457e294.jpg resize: (1080, 1632) 1359974002 -5.7659316369475935 treat image : temp/1747807050_1620847_1359973974_32e2375ded85c5d0fe0450330e56f9e7.jpg resize: (1080, 1632) 1359973974 -6.353962663162428 treat image : temp/1747807050_1620847_1359973964_c0bad20a5b1d779488318fa8694770bf.jpg resize: (1080, 1632) 1359973964 -5.460895674258819 treat image : temp/1747807050_1620847_1359973960_2e7a7c57ffe6451b96726c80e5b8d736.jpg resize: (1080, 1632) 1359973960 -5.493810093032446 treat image : temp/1747807050_1620847_1359973955_71ba09609a56659c3ef6abd7eeed5a47.jpg resize: (1080, 1632) 1359973955 -2.5788700480712268 treat image : temp/1747807050_1620847_1359973818_b25ea4ba6bbd518fd028d935f6da6e1f.jpg resize: (1080, 1632) 1359973818 -2.2981457673856767 treat image : temp/1747807050_1620847_1359973750_85ed1016ceca398ee3a9af9382044426.jpg resize: (1080, 1632) 1359973750 -3.413144968464598 treat image : temp/1747807050_1620847_1359973713_21619b82cb45e03b12ffe1a7febc1e19.jpg resize: (1080, 1632) 1359973713 -5.38527259549981 treat image : temp/1747807050_1620847_1359973664_14ee15ccdf1aed41a5b1a014e0b2cf5e.jpg resize: (1080, 1632) 1359973664 -6.225371948635744 treat image : temp/1747807050_1620847_1359973352_54acc460c138ad4255e81f0640a798ca.jpg resize: (1080, 1632) 1359973352 -4.569775918841699 treat image : temp/1747807050_1620847_1359973346_08b5c23838764c4f5f7984890d9d9073.jpg resize: (1080, 1632) 1359973346 -4.405547616420104 treat image : temp/1747807050_1620847_1359973342_ef80fe90712462cab7698425e9025837.jpg resize: (1080, 1632) 1359973342 -3.440841447806311 treat image : temp/1747807050_1620847_1359973338_09ed6cc71d765058c459676bb78b6296.jpg resize: (1080, 1632) 1359973338 -0.0503197270745624 treat image : temp/1747807050_1620847_1359973310_4dc5487761276c1ffb23ef41868b0950.jpg resize: (1080, 1632) 1359973310 -5.936348791584394 treat image : temp/1747807050_1620847_1359973306_2c5f3b5a6495f7f7ca61b7349d3ed8b3.jpg resize: (1080, 1632) 1359973306 -1.9653044487827056 treat image : temp/1747807050_1620847_1359973304_0214461b82e7147c0c6d9c1ceebd4dc3.jpg resize: (1080, 1632) 1359973304 -5.666883761659895 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.012471199035644531 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.025274038314819336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020781993865966797 save missing photos in datou_result : time spend for datou_step_exec : 16.61992120742798 time spend to save output : 0.2571992874145508 total time spend for step 1 : 16.87712049484253 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 5.06system 0:23.02elapsed 87%CPU (0avgtext+0avgdata 138936maxresident)k 608inputs+9528outputs (12major+259184minor)pagefaults 0swaps