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 : 3176182 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3176182/ 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 : 3.89841628074646 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 16 16:42: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/1758033747_3176182_1383566614_b108cb91ecc9e626cbb8df00436670f8.jpg resize: (1080, 1632) 1383566614 -5.020987647141563 treat image : temp/1758033747_3176182_1383566591_84e2fc6509935d0f84ce9e522c36cd72.jpg resize: (1080, 1632) 1383566591 -1.7020174100843533 treat image : temp/1758033747_3176182_1383566337_346dc7b627fe39576e8856ae1ddc0d69.jpg resize: (1080, 1632) 1383566337 -4.921036583741952 treat image : temp/1758033747_3176182_1383566334_def768116efb9d0242a89cd98a07ad04.jpg resize: (1080, 1632) 1383566334 -5.570906487840537 treat image : temp/1758033747_3176182_1383566329_af3c62c77388a3bdd30771c01f08c3da.jpg resize: (1080, 1632) 1383566329 -5.399856341137227 treat image : temp/1758033747_3176182_1383566326_2bff34559e1cad6e405451d4e66fccac.jpg resize: (1080, 1632) 1383566326 -4.775662058236434 treat image : temp/1758033747_3176182_1383566324_9cd648fe7f62a92339efd2ab2b71d601.jpg resize: (1080, 1632) 1383566324 -6.235031171459283 treat image : temp/1758033747_3176182_1383566316_b62824efe48d2d88cdd3859ef2a86b26.jpg resize: (1080, 1632) 1383566316 -1.3051933418236479 treat image : temp/1758033747_3176182_1383566314_d0839d38ddcd720f8a7e6baf3d3b36b3.jpg resize: (1080, 1632) 1383566314 -4.030640115280399 treat image : temp/1758033747_3176182_1383566313_e12f65c9e721702f35efe5a451bb3c83.jpg resize: (1080, 1632) 1383566313 -4.200461854088066 treat image : temp/1758033747_3176182_1383566311_bb87249116a3db19c17894dfb78523c1.jpg resize: (1080, 1632) 1383566311 -5.906407433077184 treat image : temp/1758033747_3176182_1383566309_c93702d84bead9fad035bb8721eb805d.jpg resize: (1080, 1632) 1383566309 -4.940030951602057 treat image : temp/1758033747_3176182_1383566251_2c4f71a505337a27ad692a97ae92f870.jpg resize: (1080, 1632) 1383566251 -5.833177047231735 treat image : temp/1758033747_3176182_1383566249_c8f72e242b38ccb01e2a189a4ce728a6.jpg resize: (1080, 1632) 1383566249 -5.358811378207005 treat image : temp/1758033747_3176182_1383566248_8b6ec755bb0587e7e25a756358b8ab14.jpg resize: (1080, 1632) 1383566248 -5.404493467715548 treat image : temp/1758033747_3176182_1383566245_470e14eb594848206ee53c579e07621e.jpg resize: (1080, 1632) 1383566245 -4.236930533922238 treat image : temp/1758033747_3176182_1383566221_434e12ac280f7e01b493b72daedc3571.jpg resize: (1080, 1632) 1383566221 -5.473313997299164 treat image : temp/1758033747_3176182_1383566219_aca038f1f4ade7fa62250525c703c2b4.jpg resize: (1080, 1632) 1383566219 -3.6522249609527804 treat image : temp/1758033747_3176182_1383566216_f18f4b53a9d1d1396c82814baf4b34a4.jpg resize: (1080, 1632) 1383566216 -5.008147290658577 treat image : temp/1758033747_3176182_1383566213_35a9469321425dfc559d523e61bdd051.jpg resize: (1080, 1632) 1383566213 -4.429470123074631 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.013791561126708984 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.016214847564697266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017028093338012695 save missing photos in datou_result : time spend for datou_step_exec : 14.746519327163696 time spend to save output : 0.051483154296875 total time spend for step 1 : 14.798002481460571 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 2.62system 0:20.67elapsed 81%CPU (0avgtext+0avgdata 137840maxresident)k 96inputs+10048outputs (12major+254054minor)pagefaults 0swaps