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 : 1345008 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 updating current state to 1 we have a portfolio with more photos than limit : 1918>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1345008/ 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.332754611968994 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 Thu Sep 4 17:27: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/1756999648_1345008_1381446272_eb2c585d5cc84d40c8d9388d3da38c92_94062514.jpg resize: (1080, 1632) 1381446272 -2.642856915947623 treat image : temp/1756999648_1345008_1381446271_aaecff405a0614145569a065c26f1562_78615623.jpg resize: (1080, 1632) 1381446271 -4.982727692218756 treat image : temp/1756999648_1345008_1381446270_f2aa226d133055b3221842ab5430d3f9_98398183.jpg resize: (1080, 1632) 1381446270 -5.094762386837232 treat image : temp/1756999648_1345008_1381446269_0f154725b6f169c4c09e06cf63f0889b_58982771.jpg resize: (1080, 1632) 1381446269 -5.266968028163711 treat image : temp/1756999648_1345008_1381446268_d25d913a694ba8361412941e819d23a6_99063450.jpg resize: (1080, 1632) 1381446268 -5.181165293251495 treat image : temp/1756999648_1345008_1381446267_57babe020c5200dfbf6dc2f82dea89eb_75062283.jpg resize: (1080, 1632) 1381446267 -4.71180574611506 treat image : temp/1756999648_1345008_1381446190_9dbfe106029cab2095e507f017619627_46810379.jpg resize: (1080, 1632) 1381446190 -4.135587640904642 treat image : temp/1756999648_1345008_1381446188_090ebb16ec098646e4c4a73708641d6b_7729887.jpg resize: (1080, 1632) 1381446188 -1.0543432016649978 treat image : temp/1756999648_1345008_1381446187_cd53262828264fcec9daec60a8620ea0_43866694.jpg resize: (1080, 1632) 1381446187 -2.886753670761662 treat image : temp/1756999648_1345008_1381446186_45dfa78e47ea4a0dc75ba60a461cbd01_95132066.jpg resize: (1080, 1632) 1381446186 -1.0404913652942605 treat image : temp/1756999648_1345008_1381446179_eba51bd13bc83fdd49c172639577581e_16287047.jpg resize: (1080, 1632) 1381446179 -2.865846594085312 treat image : temp/1756999648_1345008_1381446176_037b7bb5184e49f81ce46246a145f6d5_10219238.jpg resize: (1080, 1632) 1381446176 -4.875092151600267 treat image : temp/1756999648_1345008_1381446173_0614f4b25fe5960dd64e605128ae82b7_66514228.jpg resize: (1080, 1632) 1381446173 -4.342987295237092 treat image : temp/1756999648_1345008_1381446171_09d0dd4405b8b34572cd0a4cffc658b5_31374621.jpg resize: (1080, 1632) 1381446171 -5.13124794181858 treat image : temp/1756999648_1345008_1381446169_3560f85d25ea37c2c778683fa2f5e70a_40897206.jpg resize: (1080, 1632) 1381446169 -4.7321957561565275 treat image : temp/1756999648_1345008_1381446167_3c66fae4ec846533a979ba8f78e1e418_32041511.jpg resize: (1080, 1632) 1381446167 -4.399936298000126 treat image : temp/1756999648_1345008_1381446161_d9cb2e5f17e54022c7cb7e6e1cbc06c7_72712270.jpg resize: (1080, 1632) 1381446161 -2.6272180854253766 treat image : temp/1756999648_1345008_1381446160_7276ff9c45e6fe66f3ec5e2a6806a6d7_26571058.jpg resize: (1080, 1632) 1381446160 -3.005734691657261 treat image : temp/1756999648_1345008_1381446159_db9d1a3fc5b60df54e3a3706d09876a2_53643952.jpg resize: (1080, 1632) 1381446159 -2.2696415271287576 treat image : temp/1756999648_1345008_1381446158_fd5da8729d6145292bc57056c36aea05_22088367.jpg resize: (1080, 1632) 1381446158 -0.933777505255914 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.013697624206542969 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.015879392623901367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015484333038330078 save missing photos in datou_result : time spend for datou_step_exec : 15.109702587127686 time spend to save output : 0.04960918426513672 total time spend for step 1 : 15.159311771392822 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 3.34system 0:20.74elapsed 84%CPU (0avgtext+0avgdata 140324maxresident)k 136inputs+8296outputs (0major+267993minor)pagefaults 0swaps