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 : 308050 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 : 6386>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/308050/ 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.376236915588379 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 Fri Aug 1 05:37: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/1754019447_308050_1374711862_0315aff5b62927460a9331d0de2622a5.jpg resize: (1080, 1632) 1374711862 -5.321184056133832 treat image : temp/1754019447_308050_1374711860_05cf51bb133297d4a257a58f5f31d1a4.jpg resize: (1080, 1632) 1374711860 -4.894162993586728 treat image : temp/1754019447_308050_1374711854_7764c67f3c2f5f94b5c060a0f78363d0.jpg resize: (1080, 1632) 1374711854 -5.866295004282176 treat image : temp/1754019447_308050_1374711852_67fcbed226447653bbf2d717255eadef.jpg resize: (1080, 1632) 1374711852 -5.049116637841102 treat image : temp/1754019447_308050_1374711849_428c182f9938f2c795181b91690ec977.jpg resize: (1080, 1632) 1374711849 -5.847642126585016 treat image : temp/1754019447_308050_1374711846_5030e43e8d229f5f975f69abf4d8df86.jpg resize: (1080, 1632) 1374711846 8.443060525495392 treat image : temp/1754019447_308050_1374711843_ef91432f425434a09c0d9077c8df25ec.jpg resize: (1080, 1632) 1374711843 -1.8429357806621736 treat image : temp/1754019447_308050_1374711842_5a0a1d698d8ec773e91dafd97e6763fb.jpg resize: (1080, 1632) 1374711842 -4.9970980828968745 treat image : temp/1754019447_308050_1374711840_783f32346e3706cc953fc1c5eaaab644.jpg resize: (1080, 1632) 1374711840 -5.733974416549004 treat image : temp/1754019447_308050_1374711839_a57f6432f3721a663e8a33298c6a179e.jpg resize: (1080, 1632) 1374711839 -3.620135566201154 treat image : temp/1754019447_308050_1374711838_7eeb75bbddbe448fde7b3c847a342879.jpg resize: (1080, 1632) 1374711838 -3.247893412848333 treat image : temp/1754019447_308050_1374711836_baa6ed4d297e7cc4119aea3dcf9a2a0f.jpg resize: (1080, 1632) 1374711836 -3.6721927394162432 treat image : temp/1754019447_308050_1374711777_e9ea262da1ddc5dc567e496eed7e939a.jpg resize: (1080, 1632) 1374711777 -5.8239342608151965 treat image : temp/1754019447_308050_1374711775_ac3af698bbaf432358d6ecf21e032294.jpg resize: (1080, 1632) 1374711775 -6.015939416522251 treat image : temp/1754019447_308050_1374711772_143e3bb3754225626eb9e389a3ae5003.jpg resize: (1080, 1632) 1374711772 -6.330720315038124 treat image : temp/1754019447_308050_1374711769_63913a4495efd294cb5348d004b62b7d.jpg resize: (1080, 1632) 1374711769 -6.254790808730267 treat image : temp/1754019447_308050_1374711766_9923bda0a181fd53bbf68e7cf4ab86ea.jpg resize: (1080, 1632) 1374711766 -6.249333278779547 treat image : temp/1754019447_308050_1374711765_72f13ec695a3d6d03b024c83ed2c661c.jpg resize: (1080, 1632) 1374711765 -5.204479455891348 treat image : temp/1754019447_308050_1374711764_2a50dac221357081bc61fb5c19925cdf.jpg resize: (1080, 1632) 1374711764 -5.795969220557289 treat image : temp/1754019447_308050_1374711763_f096aff354b1495a8191bd8c74926926.jpg resize: (1080, 1632) 1374711763 -5.634861506246377 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.012870311737060547 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.215850830078125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.12917113304138184 save missing photos in datou_result : time spend for datou_step_exec : 15.347659826278687 time spend to save output : 0.3625001907348633 total time spend for step 1 : 15.71016001701355 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.64system 0:19.50elapsed 90%CPU (0avgtext+0avgdata 139276maxresident)k 16inputs+10976outputs (15major+259350minor)pagefaults 0swaps