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 : 1823512 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 : 3679>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1823512/ 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.253387928009033 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 Jul 8 10:22: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/1751962948_1823512_1371153288_37f77e3be15a1778a30d246552d76cd2.jpg resize: (1080, 1632) 1371153288 -4.911875999855179 treat image : temp/1751962948_1823512_1371153285_4b4246b7abd6c0ecdd2c13324d3da3ff.jpg resize: (1080, 1632) 1371153285 -5.087654502377669 treat image : temp/1751962948_1823512_1371153278_21be02bddea9fac1fa35248cbf6f82bf.jpg resize: (1080, 1632) 1371153278 -5.075467270388396 treat image : temp/1751962948_1823512_1371153270_728a889c07045e6fe677e83c876c9465.jpg resize: (1080, 1632) 1371153270 -5.127131774328867 treat image : temp/1751962948_1823512_1371153267_d165cb3e1a131d5780f909f274e2f608.jpg resize: (1080, 1632) 1371153267 -4.710441718588136 treat image : temp/1751962948_1823512_1371153263_dc8271a8c4a55fee55cacdc6b65d9f02.jpg resize: (1080, 1632) 1371153263 -5.287927324012732 treat image : temp/1751962948_1823512_1371151452_33ed0d48acbb2fdfdbe518364846c524.jpg resize: (1080, 1632) 1371151452 -5.5273350656946745 treat image : temp/1751962948_1823512_1371151448_673ef8610b4fcf50aa3f2499d8ae99be.jpg resize: (1080, 1632) 1371151448 -4.698426307262718 treat image : temp/1751962948_1823512_1371151437_42671c1056b9cc67d9fef0314b4cad4f.jpg resize: (1080, 1632) 1371151437 -4.172695594269728 treat image : temp/1751962948_1823512_1371151435_f6ac2857e109f8bb02c51ef3bda81e91.jpg resize: (1080, 1632) 1371151435 -4.5252348629305335 treat image : temp/1751962948_1823512_1371151432_99e32457b140a8d7564eb9c48fe357f0.jpg resize: (1080, 1632) 1371151432 -4.499511291399181 treat image : temp/1751962948_1823512_1371151428_0090137174487ec52c4350003f7841e8.jpg resize: (1080, 1632) 1371151428 -4.466765023319968 treat image : temp/1751962948_1823512_1371151425_05fd31059eedf5cea58a03bf55fec790.jpg resize: (1080, 1632) 1371151425 -4.479285720661533 treat image : temp/1751962948_1823512_1371151421_d79d945bb43d979e97a233c0cf63f829.jpg resize: (1080, 1632) 1371151421 -4.434558017751541 treat image : temp/1751962948_1823512_1371151411_57c229271bfc2c43de8bf82201c676d8.jpg resize: (1080, 1632) 1371151411 -1.9142748631162472 treat image : temp/1751962948_1823512_1371151408_3f20431a1f5a5418721954f8ba953327.jpg resize: (1080, 1632) 1371151408 -2.0209988432992283 treat image : temp/1751962948_1823512_1371151405_d804c2f4a475810d2e9a3fed132047af.jpg resize: (1080, 1632) 1371151405 -1.9626542816517916 treat image : temp/1751962948_1823512_1371151401_857529a2ad1acd1392865b08b76b49ff.jpg resize: (1080, 1632) 1371151401 -2.2379152841415184 treat image : temp/1751962948_1823512_1371151398_f18972faa8ae136cd59f8a4cbc87c60e.jpg resize: (1080, 1632) 1371151398 -3.0818451118598937 treat image : temp/1751962948_1823512_1371151395_d5fe3b9019e4ad824260457c63d9932f.jpg resize: (1080, 1632) 1371151395 -3.9575243986183013 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.021565675735473633 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.018072843551635742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017914533615112305 save missing photos in datou_result : time spend for datou_step_exec : 14.486125707626343 time spend to save output : 0.062439918518066406 total time spend for step 1 : 14.54856562614441 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 2.48system 0:19.69elapsed 84%CPU (0avgtext+0avgdata 141184maxresident)k 64inputs+8344outputs (12major+260368minor)pagefaults 0swaps