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 : 1876592 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 : 639>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/1876592/ 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.3395040035247803 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 May 16 03:07: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/1747357647_1876592_1358754425_6f9d59ae0585b3d0a57ce0eae48ec217.jpg resize: (1080, 1632) 1358754425 -5.89791924979312 treat image : temp/1747357647_1876592_1358754396_6331708b81b16cb699cc9da0624096e9.jpg resize: (1080, 1632) 1358754396 -5.606442822154091 treat image : temp/1747357647_1876592_1358754361_df0ce4d3afb7f69d9b5c2cc3f105867d.jpg resize: (1080, 1632) 1358754361 -5.787653178603257 treat image : temp/1747357647_1876592_1358754310_8a7a4d43e14cd4b200bf147259272000.jpg resize: (1080, 1632) 1358754310 -5.4405376871371685 treat image : temp/1747357647_1876592_1358753664_58e1b363447206d740aedf105971f828.jpg resize: (1080, 1632) 1358753664 -1.9536621098530853 treat image : temp/1747357647_1876592_1358753593_4a1766980f287902ff53d71380545093.jpg resize: (1080, 1632) 1358753593 -4.996768984559517 treat image : temp/1747357647_1876592_1358753540_53ad1d0a3bf52331e7bb56f4b84cc223.jpg resize: (1080, 1632) 1358753540 -5.087268511695742 treat image : temp/1747357647_1876592_1358753482_2548a65e5999482646fc7be980470c7d.jpg resize: (1080, 1632) 1358753482 -4.93066229651716 treat image : temp/1747357647_1876592_1358753113_acbf0fd8a81a930f779f7c45cfcf64d2.jpg resize: (1080, 1632) 1358753113 -5.04979299560783 treat image : temp/1747357647_1876592_1358753062_46d92d61d70e1003e8aa7e72849aead2.jpg resize: (1080, 1632) 1358753062 -6.32695637038631 treat image : temp/1747357647_1876592_1358753010_4ed05aea90f5dae3dbe36ad105ad9598.jpg resize: (1080, 1632) 1358753010 -5.386168958812121 treat image : temp/1747357647_1876592_1358752959_2137e0c8b5ac6c75a0fded6b7729dd5d.jpg resize: (1080, 1632) 1358752959 -3.8190745765691516 treat image : temp/1747357647_1876592_1358752624_5d4a9aad725c8e83eca7af15d01b9f04.jpg resize: (1080, 1632) 1358752624 -5.726564726635169 treat image : temp/1747357647_1876592_1358752622_ec9ad74f72d74d5567e7210edbe2bc51.jpg resize: (1080, 1632) 1358752622 -6.190062881799141 treat image : temp/1747357647_1876592_1358752619_62b9d4d5e6801b82a3bbf93d35ec8398.jpg resize: (1080, 1632) 1358752619 -3.6754588488023288 treat image : temp/1747357647_1876592_1358752616_973d21c9335bc1524ba4cdff598e9efb.jpg resize: (1080, 1632) 1358752616 -5.77329402277598 treat image : temp/1747357647_1876592_1358752174_b8ef2420067f1eae520d9eaa3c49c9e1.jpg resize: (1080, 1632) 1358752174 -5.839027914399917 treat image : temp/1747357647_1876592_1358752120_a21c6ed886c6beca768489d6b98b7603.jpg resize: (1080, 1632) 1358752120 -5.83712790648961 treat image : temp/1747357647_1876592_1358751554_ca3dd3713d5c8d7ca16d42e758d96ae3.jpg resize: (1080, 1632) 1358751554 -3.173539878686234 treat image : temp/1747357647_1876592_1358751456_7ff51d63de2993fc8ba20c1bbd401053.jpg resize: (1080, 1632) 1358751456 -3.8785724164953925 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.01556086540222168 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.012229204177856445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014605283737182617 save missing photos in datou_result : time spend for datou_step_exec : 15.786829710006714 time spend to save output : 0.04694056510925293 total time spend for step 1 : 15.833770275115967 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.35system 0:19.89elapsed 90%CPU (0avgtext+0avgdata 142156maxresident)k 0inputs+10272outputs (11major+257829minor)pagefaults 0swaps