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 : 236826 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 : 7736>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/236826/ 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.382418155670166 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 04:52: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/1754016749_236826_1374709047_ef4e580bcb31177b04da9dc48876aa08.jpg resize: (1080, 1632) 1374709047 -2.7968284297395187 treat image : temp/1754016749_236826_1374709045_84e5ef0c747656061285ede58dad29d1.jpg resize: (1080, 1632) 1374709045 -2.5079830856727288 treat image : temp/1754016749_236826_1374709043_8beb29286dc59b468057bb83e513cd69.jpg resize: (1080, 1632) 1374709043 -2.638413817187045 treat image : temp/1754016749_236826_1374709042_3bfeb6ddcfea069f9f675ae207ecb8d0.jpg resize: (1080, 1632) 1374709042 -3.7010793664992025 treat image : temp/1754016749_236826_1374709041_e6cde9fd15fef482cee7dc44db4876fc.jpg resize: (1080, 1632) 1374709041 -5.988225210379505 treat image : temp/1754016749_236826_1374709035_fed81030613502222c5d898fb7aeba18.jpg resize: (1080, 1632) 1374709035 -6.1306732772495245 treat image : temp/1754016749_236826_1374709027_b37e35b4a190412997255aef258cd01f.jpg resize: (1080, 1632) 1374709027 -6.529972200468 treat image : temp/1754016749_236826_1374709024_fb461487dd9cee8c4b35a154aa04f3c5.jpg resize: (1080, 1632) 1374709024 -5.823141811355857 treat image : temp/1754016749_236826_1374709022_72916917dd614ab32ef96a4d037a88bd.jpg resize: (1080, 1632) 1374709022 -5.335662508102788 treat image : temp/1754016749_236826_1374709020_e69cf3dc1537fe8160027af1013ee6fd.jpg resize: (1080, 1632) 1374709020 -5.346077553966905 treat image : temp/1754016749_236826_1374709017_a9b9f58c6cbd838ac84340047294a820.jpg resize: (1080, 1632) 1374709017 -6.177633428934541 treat image : temp/1754016749_236826_1374709014_a33b336b78e046cd27797b7a9d8f4e95.jpg resize: (1080, 1632) 1374709014 -5.3791911850752685 treat image : temp/1754016749_236826_1374708952_4f0b76c766a01901fad6f2b633094ca5.jpg resize: (1080, 1632) 1374708952 -2.9133985557217326 treat image : temp/1754016749_236826_1374708949_ca712b5ffd857e0eb9116dfd6f0b3ea6.jpg resize: (1080, 1632) 1374708949 -4.025600080038058 treat image : temp/1754016749_236826_1374708946_453b71447b9a51f23f1099f2271555c9.jpg resize: (1080, 1632) 1374708946 -4.944294270912253 treat image : temp/1754016749_236826_1374708943_59d6695bfd09ac700b9aa6f424b39ddc.jpg resize: (1080, 1632) 1374708943 -5.5178493296299 treat image : temp/1754016749_236826_1374708932_1fe66dc096bc7b28551b8f3fdd5e1f4d.jpg resize: (1080, 1632) 1374708932 -5.355457851790074 treat image : temp/1754016749_236826_1374708929_3b3e8606894a328c165d0e2ac58c6b11.jpg resize: (1080, 1632) 1374708929 -2.817105514430019 treat image : temp/1754016749_236826_1374708926_4d51884d7f4412df35eb6b4a5be3981e.jpg resize: (1080, 1632) 1374708926 -3.642375657158518 treat image : temp/1754016749_236826_1374708922_3f80c63bb3d264d697deb6f2cdf54526.jpg resize: (1080, 1632) 1374708922 -5.800193817001325 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.017681360244750977 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.017061710357666016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018796920776367188 save missing photos in datou_result : time spend for datou_step_exec : 15.126308679580688 time spend to save output : 0.058565378189086914 total time spend for step 1 : 15.184874057769775 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 3.40system 0:20.87elapsed 83%CPU (0avgtext+0avgdata 139348maxresident)k 0inputs+9816outputs (5major+258850minor)pagefaults 0swaps