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 : 1373080 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 : 2636>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1373080/ 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.4053471088409424 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 Sep 9 16:07:31 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/1757426849_1373080_1382781632_3c395da3dbeae5763ded87e49d8f5aca.jpg resize: (1080, 1632) 1382781632 -5.058000725377149 treat image : temp/1757426849_1373080_1382781629_3cca152e64104018cf6ee32d8bbcd337.jpg resize: (1080, 1632) 1382781629 -5.328989828329034 treat image : temp/1757426849_1373080_1382781627_7c45ad4ca143f6b48aaeb3d1bd4054ab.jpg resize: (1080, 1632) 1382781627 -5.441095524942148 treat image : temp/1757426849_1373080_1382781625_e89ff219149aec716b668d1f8612a424.jpg resize: (1080, 1632) 1382781625 -5.608537622776492 treat image : temp/1757426849_1373080_1382781622_8535f59285175e67d8f99ef8b3e37419.jpg resize: (1080, 1632) 1382781622 -3.341687383789048 treat image : temp/1757426849_1373080_1382781619_c9f406304ec94641d25be56e2799e527.jpg resize: (1080, 1632) 1382781619 -1.5636600551811919 treat image : temp/1757426849_1373080_1382781598_086ae4ebbdf427e37a7ddec99bc2a127.jpg resize: (1080, 1632) 1382781598 -1.7029614566158855 treat image : temp/1757426849_1373080_1382781593_de63537171bdad44fce874df12ae01d2.jpg resize: (1080, 1632) 1382781593 -3.3436099237537755 treat image : temp/1757426849_1373080_1382781591_09f6c11c4c54f44582a34216054ff8f2.jpg resize: (1080, 1632) 1382781591 -2.3002794028792217 treat image : temp/1757426849_1373080_1382781589_f5e49c2bdf908c8e5c5e97f3ee24b111.jpg resize: (1080, 1632) 1382781589 -4.668438145715146 treat image : temp/1757426849_1373080_1382781586_925cfda87fb42f8f42c7b7f2eeeb8d36.jpg resize: (1080, 1632) 1382781586 -2.850856474475264 treat image : temp/1757426849_1373080_1382781581_ce2d9252a763f4174761bb3ca3b9907f.jpg resize: (1080, 1632) 1382781581 -5.058000725377149 treat image : temp/1757426849_1373080_1382781574_fe6a34623689f930edad74a410e5669e.jpg resize: (1080, 1632) 1382781574 0.07622042664236157 treat image : temp/1757426849_1373080_1382781572_44f0bcc679172a42de529a4901070da6.jpg resize: (1080, 1632) 1382781572 -1.6462739669269102 treat image : temp/1757426849_1373080_1382781570_dbdd65800dcef4283a9ffa891bdab497.jpg resize: (1080, 1632) 1382781570 -1.8644948571452973 treat image : temp/1757426849_1373080_1382781565_c2d2a663e4200faa5472f09e44210c26.jpg resize: (1080, 1632) 1382781565 -4.947714954609584 treat image : temp/1757426849_1373080_1382781555_d5045a8e05b24edfcabc89a1775b96cb.jpg resize: (1080, 1632) 1382781555 -3.3386529550388953 treat image : temp/1757426849_1373080_1382781552_b0e95f7b04f5b94a50dfcf7b65a8961e.jpg resize: (1080, 1632) 1382781552 -2.8138066767071175 treat image : temp/1757426849_1373080_1382781547_c73c1ba49fa9bbe698f63e5f53838ec8.jpg resize: (1080, 1632) 1382781547 -6.044810643123172 treat image : temp/1757426849_1373080_1382781545_3116e46632007787e939191ff92e66d8.jpg resize: (1080, 1632) 1382781545 -5.456340158012612 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.035509347915649414 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.0322873592376709 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030577659606933594 save missing photos in datou_result : time spend for datou_step_exec : 14.587238788604736 time spend to save output : 0.1097264289855957 total time spend for step 1 : 14.696965217590332 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.18system 0:19.91elapsed 85%CPU (0avgtext+0avgdata 138584maxresident)k 0inputs+8664outputs (0major+258593minor)pagefaults 0swaps