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 : 2213787 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 : 253>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/2213787/ 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.143296718597412 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 05:52: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/1741927948_2213787_1344071519_26d9d10d7933fdc4afcf60e6b2b04fd6.jpg resize: (1080, 1632) 1344071519 -2.5873650180028065 treat image : temp/1741927948_2213787_1344071516_bf5b56f9070a2bce456f9136c57d9f3a.jpg resize: (1080, 1632) 1344071516 -4.781607247705863 treat image : temp/1741927948_2213787_1344071512_b415a42501b7105142caf8ebb5189059.jpg resize: (1080, 1632) 1344071512 -1.5917585475386955 treat image : temp/1741927948_2213787_1344071510_619ae2c9b15d74ca72d359a35f26fd77.jpg resize: (1080, 1632) 1344071510 -3.504583116645453 treat image : temp/1741927948_2213787_1344071508_d410f37f075995d16e8416b59d99d2b8.jpg resize: (1080, 1632) 1344071508 -4.636637410728122 treat image : temp/1741927948_2213787_1344071505_f275c175265f26bb2cc196ce5dfb8631.jpg resize: (1080, 1632) 1344071505 -3.1185459821988704 treat image : temp/1741927948_2213787_1344071502_f70beb5cdfdb91f8c5b8f089e577154a.jpg resize: (1080, 1632) 1344071502 -5.242540568258787 treat image : temp/1741927948_2213787_1344071499_2fe896d5a7f9992fe78c4e7dbc112117.jpg resize: (1080, 1632) 1344071499 -4.436997483617101 treat image : temp/1741927948_2213787_1344071492_ba47b94bb43446a5e34ed66e7778036b.jpg resize: (1080, 1632) 1344071492 -5.693753209253988 treat image : temp/1741927948_2213787_1344071490_19e10614f0c983e808123ad57152ff12.jpg resize: (1080, 1632) 1344071490 -5.706102328771221 treat image : temp/1741927948_2213787_1344071486_3093002aa32e2ed0f69c2bc3bb199351.jpg resize: (1080, 1632) 1344071486 -6.047865339851582 treat image : temp/1741927948_2213787_1344071375_83d714997292e6fea9cba39bf80ebed8.jpg resize: (1080, 1632) 1344071375 -6.096501815645078 treat image : temp/1741927948_2213787_1344071373_06e831ed6b1ac3cca504dc66f18ebfc9.jpg resize: (1080, 1632) 1344071373 -2.6683723285158747 treat image : temp/1741927948_2213787_1344071372_d3e768b58e83a79144629d63d66b091b.jpg resize: (1080, 1632) 1344071372 -2.6683723285158747 treat image : temp/1741927948_2213787_1344071356_7315a5b8d414a62f2efa511fac734683.jpg resize: (1080, 1632) 1344071356 -6.656306443093313 treat image : temp/1741927948_2213787_1344071353_8a28353b0b5d42c4fca6d2e33b7b6489.jpg resize: (1080, 1632) 1344071353 -4.9534043543044275 treat image : temp/1741927948_2213787_1344071349_d0285071791a07a4d05f0fc89343cfd0.jpg resize: (1080, 1632) 1344071349 -2.372340718202623 treat image : temp/1741927948_2213787_1344071346_7c17ef337c3d29c530529020aacf2154.jpg resize: (1080, 1632) 1344071346 -2.1368386743982124 treat image : temp/1741927948_2213787_1344071343_25993627da6838d7eaee26be42fa2f4d.jpg resize: (1080, 1632) 1344071343 -5.431061244032425 treat image : temp/1741927948_2213787_1344071299_eab9908cc5d8875f6374ec2856d27473.jpg resize: (1080, 1632) 1344071299 -4.37644566351872 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.013520240783691406 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.32909417152404785 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014914512634277344 save missing photos in datou_result : time spend for datou_step_exec : 15.364137649536133 time spend to save output : 0.36218690872192383 total time spend for step 1 : 15.726324558258057 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 3.47system 0:20.06elapsed 88%CPU (0avgtext+0avgdata 138160maxresident)k 48inputs+9856outputs (7major+257793minor)pagefaults 0swaps