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 : 2431880 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 : 679>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2431880/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.18896222114563 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 Mar 14 07:02:29 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/1741932147_2431880_1344079870_904ca091b2fc9a752c907594089719e2.jpg resize: (1080, 1632) 1344079870 -5.373168266685751 treat image : temp/1741932147_2431880_1344079846_fe5481de5b07426e2b3f73ae95fb808b.jpg resize: (1080, 1632) 1344079846 -4.474001227284487 treat image : temp/1741932147_2431880_1344079824_ddfd1e86fdad22d4bc5b0cc34c0878e5.jpg resize: (1080, 1632) 1344079824 -6.281656602285946 treat image : temp/1741932147_2431880_1344079819_58a3388c63693173d6acd5f792734d77.jpg resize: (1080, 1632) 1344079819 -4.408711175389887 treat image : temp/1741932147_2431880_1344079815_27dbf878bb4a2153e42ffa861e37970c.jpg resize: (1080, 1632) 1344079815 -5.942124421606176 treat image : temp/1741932147_2431880_1344079813_0634668c3535df2f268cbd85ed81efa3.jpg resize: (1080, 1632) 1344079813 -4.3484810149512105 treat image : temp/1741932147_2431880_1344079801_7aea1bd75d24dce8fea7b3d5204ad056.jpg resize: (1080, 1632) 1344079801 -6.474883649323189 treat image : temp/1741932147_2431880_1344079797_9e2238ddfa57562ca1e2ce7a567ec30f.jpg resize: (1080, 1632) 1344079797 -0.9760778098677023 treat image : temp/1741932147_2431880_1344079793_cc8535a52de8f434388eaef3cca4e4df.jpg resize: (1080, 1632) 1344079793 -2.834125097455402 treat image : temp/1741932147_2431880_1344079789_94711167a5788719c7d3e4f8a5d3b1ea.jpg resize: (1080, 1632) 1344079789 -5.733858345745499 treat image : temp/1741932147_2431880_1344079785_c54aaee284e79a3587a5d0d84030a9c6.jpg resize: (1080, 1632) 1344079785 -6.2247743759775584 treat image : temp/1741932147_2431880_1344079783_96a0ffd5d5b45d563a5b906da97822f3.jpg resize: (1080, 1632) 1344079783 -6.215439065975634 treat image : temp/1741932147_2431880_1344079770_b962a4e0d678521726b8ecb4d3f965a1.jpg resize: (1080, 1632) 1344079770 -4.259481716442892 treat image : temp/1741932147_2431880_1344079768_40a76be08145866d74fc4593139047bc.jpg resize: (1080, 1632) 1344079768 -6.1285888372191115 treat image : temp/1741932147_2431880_1344079766_feac5308a3a1365ad59b2a850b1d65b7.jpg resize: (1080, 1632) 1344079766 -6.216859865114947 treat image : temp/1741932147_2431880_1344079764_249d8a6abd12a2cd68711fcf304ef049.jpg resize: (1080, 1632) 1344079764 -6.28549644828638 treat image : temp/1741932147_2431880_1344079758_04e4f898148388994d087c1d95c8e073.jpg resize: (1080, 1632) 1344079758 -6.311788956118077 treat image : temp/1741932147_2431880_1344079745_0904d36b4a91a3b3b3a518c56b5af00c.jpg resize: (1080, 1632) 1344079745 -6.957548642531276 treat image : temp/1741932147_2431880_1344078585_106fd5ff7ebf3be2f66a382de3e1d8f7.jpg resize: (1080, 1632) 1344078585 -5.612916858625835 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 : 19 time used for this insertion : 0.016699790954589844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.18495941162109375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.19489836692810059 save missing photos in datou_result : time spend for datou_step_exec : 17.156179428100586 time spend to save output : 0.4017486572265625 total time spend for step 1 : 17.55792808532715 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 15.00user 4.96system 0:22.46elapsed 88%CPU (0avgtext+0avgdata 140868maxresident)k 432inputs+10784outputs (27major+248207minor)pagefaults 0swaps