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 : 673279 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/673279/ 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.298978567123413 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 Wed Mar 26 02:37: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/1742953046_673279_1333380112_e4569b5f654e65814b375a36e3935501.jpg resize: (1080, 1632) 1333380112 0.6314471810381866 treat image : temp/1742953046_673279_1333380069_144c88409627c88513ef19495055b1d8.jpg resize: (1080, 1632) 1333380069 1.8374688291313395 treat image : temp/1742953046_673279_1333380066_ede066fee22253d93d83a5f059635337.jpg resize: (1080, 1632) 1333380066 2.1999023121533834 treat image : temp/1742953046_673279_1333380063_e31d6e363f827ad12026ed14759cd593.jpg resize: (1080, 1632) 1333380063 1.949092313056467 treat image : temp/1742953046_673279_1333380059_a75fd3dcf0f4b9bd11976b4c8113cc55.jpg resize: (1080, 1632) 1333380059 2.2397104154633674 treat image : temp/1742953046_673279_1333380058_5e64502f03a5e16dba75c45f1174da19.jpg resize: (1080, 1632) 1333380058 1.9674315214134965 treat image : temp/1742953046_673279_1333380056_ebd1f43997aed07fb8a4384609c4397f.jpg resize: (1080, 1632) 1333380056 3.7083031300224736 treat image : temp/1742953046_673279_1333379689_107adc40ef65c8f172b9afd51e29e0d1.jpg resize: (1080, 1632) 1333379689 2.1723008902276604 treat image : temp/1742953046_673279_1333379688_cd3d4cff8ac217fdfb8231b773ff95b9.jpg resize: (1080, 1632) 1333379688 2.6541341591820506 treat image : temp/1742953046_673279_1333379686_d4eec265ec61f8ca360fa2f997a089b2.jpg resize: (1080, 1632) 1333379686 1.0381142284205143 treat image : temp/1742953046_673279_1333379684_9febb89a69f916aabc88f677e8c979e7.jpg resize: (1080, 1632) 1333379684 2.712695044021024 treat image : temp/1742953046_673279_1333379681_5915e28f16cb55d836b3b493231d6c84.jpg resize: (1080, 1632) 1333379681 2.947753357066329 treat image : temp/1742953046_673279_1333379678_0df3ae09fcc641a28a132c7583a2fc32.jpg resize: (1080, 1632) 1333379678 2.24521749537895 treat image : temp/1742953046_673279_1333379475_e2e37777646cfbbadfa1aeb48b0a8570.jpg resize: (1080, 1632) 1333379475 -0.8617376716347604 treat image : temp/1742953046_673279_1333379389_c52cc3976c9f6860fab0fde2b148ff9b.jpg resize: (1080, 1632) 1333379389 -1.0135335068308446 treat image : temp/1742953046_673279_1333379336_f859cbef76142368b1d8c8e204bcc390.jpg resize: (1080, 1632) 1333379336 0.5643652269638407 treat image : temp/1742953046_673279_1333379333_c6e525571cb18f7d4e74fec8d73ee785.jpg resize: (1080, 1632) 1333379333 0.7069942952913215 treat image : temp/1742953046_673279_1333379330_b5766767df3f06a54455300d5c487c02.jpg resize: (1080, 1632) 1333379330 1.7394291764004313 treat image : temp/1742953046_673279_1333379327_5763e8475ea6c8d95635a519d67e32c3.jpg resize: (1080, 1632) 1333379327 3.379015823633269 treat image : temp/1742953046_673279_1333378878_8b6de2c11d81ee57bb7a1d1abaf8b6be.jpg resize: (1080, 1632) 1333378878 3.7839352218371807 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.01886582374572754 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.5169363021850586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02931690216064453 save missing photos in datou_result : time spend for datou_step_exec : 15.086118459701538 time spend to save output : 0.5723607540130615 total time spend for step 1 : 15.6584792137146 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.44user 3.39system 0:21.25elapsed 79%CPU (0avgtext+0avgdata 138708maxresident)k 80inputs+3912outputs (10major+261346minor)pagefaults 0swaps