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 : 2723686 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/2723686/ 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.444584608078003 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 Apr 9 19:57: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/1744221447_2723686_1350653869_52cc6263e8cf1c0e1acec8735d51cdc9.jpg resize: (1080, 1632) 1350653869 -5.5127041840293645 treat image : temp/1744221447_2723686_1350653833_89521994d359839e8ff97bb9eb67e098.jpg resize: (1080, 1632) 1350653833 -6.321699347778796 treat image : temp/1744221447_2723686_1350653828_932a9b4324ee84c48d0699361dc1a8fb.jpg resize: (1080, 1632) 1350653828 -6.186602770617136 treat image : temp/1744221447_2723686_1350653823_88f3e316f7202baf9ee89f5df38fdb76.jpg resize: (1080, 1632) 1350653823 -6.077336656703418 treat image : temp/1744221447_2723686_1350653792_bc786d8918b7c385c79f4d0feaa439f3.jpg resize: (1080, 1632) 1350653792 -1.6401998231999189 treat image : temp/1744221447_2723686_1350653786_dafa561916314c85ef48c163eaf44e2a.jpg resize: (1080, 1632) 1350653786 -4.556105149490689 treat image : temp/1744221447_2723686_1350653777_fbeb972aa0e131e0b42da5067145c323.jpg resize: (1080, 1632) 1350653777 -6.230189703626878 treat image : temp/1744221447_2723686_1350653771_8e3065b3450c8dec8403a77c21701458.jpg resize: (1080, 1632) 1350653771 -6.2542130449499345 treat image : temp/1744221447_2723686_1350653765_b85c30350bb3781889e3921b488d1d0d.jpg resize: (1080, 1632) 1350653765 -6.243075091549957 treat image : temp/1744221447_2723686_1350653734_50706a5833aa8e923fb05c289d3d01cb.jpg resize: (1080, 1632) 1350653734 -1.3516351493732837 treat image : temp/1744221447_2723686_1350653729_76fe5d4569fdae9a73f7ea2ffaffd072.jpg resize: (1080, 1632) 1350653729 -1.2444375342485627 treat image : temp/1744221447_2723686_1350653724_07de70fe8882b6c4a5712ee574e5c173.jpg resize: (1080, 1632) 1350653724 -1.5214118780300185 treat image : temp/1744221447_2723686_1350653704_fe41d2996791302b9e8f20d1cf843cf2.jpg resize: (1080, 1632) 1350653704 -5.843573757159041 treat image : temp/1744221447_2723686_1350653699_3d62f0c2c5ccc81ef68a1ff5e6679b3b.jpg resize: (1080, 1632) 1350653699 -3.746342276803308 treat image : temp/1744221447_2723686_1350653693_53bcd9dba06b54953ff73098d189d74e.jpg resize: (1080, 1632) 1350653693 -5.238871618843319 treat image : temp/1744221447_2723686_1350653685_46fcd50517aab22aea16ed982af1e7a6.jpg resize: (1080, 1632) 1350653685 -4.60822450924179 treat image : temp/1744221447_2723686_1350653680_bb8538fe9e0028c317728f3555aac29d.jpg resize: (1080, 1632) 1350653680 -5.854598570715182 treat image : temp/1744221447_2723686_1350653673_170498d795fe80d2b240069af97a71cf.jpg resize: (1080, 1632) 1350653673 -5.2906855240433535 treat image : temp/1744221447_2723686_1350653662_c2c70475a472f744b253ba88f13eb6ee.jpg resize: (1080, 1632) 1350653662 -3.0439788146610507 treat image : temp/1744221447_2723686_1350653659_6ce1efb48b738950b490101eb7cc414f.jpg resize: (1080, 1632) 1350653659 -6.699279224069786 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.01675128936767578 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.01793193817138672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016861438751220703 save missing photos in datou_result : time spend for datou_step_exec : 15.698198080062866 time spend to save output : 0.05763506889343262 total time spend for step 1 : 15.755833148956299 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 3.27system 0:21.64elapsed 83%CPU (0avgtext+0avgdata 139312maxresident)k 104inputs+10272outputs (9major+257977minor)pagefaults 0swaps