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 : 3625595 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 : 572>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/3625595/ 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.1128671169281006 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 Tue Feb 4 11:17: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/1738664247_3625595_1334523632_5d0f3e359f4f9d068af2dd72eb57603d.jpg resize: (1080, 1632) 1334523632 -6.457371356033951 treat image : temp/1738664247_3625595_1334523628_67f46b5eb31b6dd24d4cb865ad169d60.jpg resize: (1080, 1632) 1334523628 -6.719185184183785 treat image : temp/1738664247_3625595_1334523626_c566be6ff44c33c6be1b3cb68b4f6c95.jpg resize: (1080, 1632) 1334523626 -6.003477232641189 treat image : temp/1738664247_3625595_1334523598_aa0ae7466c21532ff88050f5f78c4e04.jpg resize: (1080, 1632) 1334523598 -6.104462622335302 treat image : temp/1738664247_3625595_1334523593_25d43c8d63290fc80f8e4f444df94a42.jpg resize: (1080, 1632) 1334523593 -6.14283010128824 treat image : temp/1738664247_3625595_1334523586_1ce4e00d9263491b056b66c01ff47080.jpg resize: (1080, 1632) 1334523586 -6.134877890430886 treat image : temp/1738664247_3625595_1334523567_563cac1a7e07aeb745aad79555946ec5.jpg resize: (1080, 1632) 1334523567 -6.21979949104375 treat image : temp/1738664247_3625595_1334523564_e2fb44d933408bb9187c655e7d34bd79.jpg resize: (1080, 1632) 1334523564 -5.921275647601966 treat image : temp/1738664247_3625595_1334523249_ee167c13b920ea406d9422a96e83b6df.jpg resize: (1080, 1632) 1334523249 -5.942131152195135 treat image : temp/1738664247_3625595_1334523244_b8c3b921fdfbaf3c4da989ea232c59f2.jpg resize: (1080, 1632) 1334523244 -6.222725568825442 treat image : temp/1738664247_3625595_1334523236_16eacb341d5f127ed31adc2e438ee78b.jpg resize: (1080, 1632) 1334523236 -5.749876632193742 treat image : temp/1738664247_3625595_1334523163_e760c2acaa4091ef07ab14f0740fdecc.jpg resize: (1080, 1632) 1334523163 -6.209641229973476 treat image : temp/1738664247_3625595_1334522689_910990dc0e26eaf99421e3d6cbb43fe8.jpg resize: (1080, 1632) 1334522689 -2.242464214008903 treat image : temp/1738664247_3625595_1334522628_580c134ad1ff1b54c26ae15d4b13a500.jpg resize: (1080, 1632) 1334522628 -3.484563795583808 treat image : temp/1738664247_3625595_1334522624_4d43ce9591b44c22f940212a8c7d270b.jpg resize: (1080, 1632) 1334522624 -3.948922551286417 treat image : temp/1738664247_3625595_1334522622_74cdb5f327f45dc436fd1876a63751d8.jpg resize: (1080, 1632) 1334522622 -4.736323069049029 treat image : temp/1738664247_3625595_1334522541_51597d91f63461bd29638b58dad001c2.jpg resize: (1080, 1632) 1334522541 -4.942033916987682 treat image : temp/1738664247_3625595_1334522536_ca6cb480050c943870a34d3c880afa6e.jpg resize: (1080, 1632) 1334522536 -4.978057027325856 treat image : temp/1738664247_3625595_1334522532_c616dc0a322e2ad427b920a55edc0a96.jpg resize: (1080, 1632) 1334522532 -5.776977004557267 treat image : temp/1738664247_3625595_1334522528_bad23d077607f904b91c5cce954c1d7b.jpg resize: (1080, 1632) 1334522528 -6.2421270978958345 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.012389183044433594 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.01182866096496582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015053510665893555 save missing photos in datou_result : time spend for datou_step_exec : 13.247454643249512 time spend to save output : 0.04483342170715332 total time spend for step 1 : 13.292288064956665 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 1.52system 0:18.60elapsed 84%CPU (0avgtext+0avgdata 141844maxresident)k 40inputs+11096outputs (7major+119663minor)pagefaults 0swaps