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 : 3465803 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 : 8231>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3465803/ 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.4620561599731445 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 Jul 31 20:27: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/1753986448_3465803_1374644054_c2552e04279c4588c3390df4c651e1e7.jpg resize: (1080, 1632) 1374644054 -4.909026402562479 treat image : temp/1753986448_3465803_1374644052_e24d3b7010af8856d62eb70ac73fded6.jpg resize: (1080, 1632) 1374644052 -5.247236512223877 treat image : temp/1753986448_3465803_1374644051_f9708fbc7b1e5d9cccf892cd8a062e08.jpg resize: (1080, 1632) 1374644051 -5.513203136756452 treat image : temp/1753986448_3465803_1374644050_ee8d4f265b582936e8551a938a0c952d.jpg resize: (1080, 1632) 1374644050 -5.496402274860086 treat image : temp/1753986448_3465803_1374644049_e57a7123fb038b8261346b9b4f39b781.jpg resize: (1080, 1632) 1374644049 -4.884345859756053 treat image : temp/1753986448_3465803_1374644048_d6c6d765f14e0a4dd79c8c57d4055c1c.jpg resize: (1080, 1632) 1374644048 -4.720778783133955 treat image : temp/1753986448_3465803_1374644018_93ec16bd63fe6fd01196fa5d50e72409.jpg resize: (1080, 1632) 1374644018 -5.301435044108361 treat image : temp/1753986448_3465803_1374644017_8917bf4177034afb02113e392badd8c4.jpg resize: (1080, 1632) 1374644017 -5.657700252349554 treat image : temp/1753986448_3465803_1374644016_938a5463b3df6eac0206326a169b5bc6.jpg resize: (1080, 1632) 1374644016 -1.9586609707932152 treat image : temp/1753986448_3465803_1374644015_cd006ed80fbf37b86e52bb4347d5e19c.jpg resize: (1080, 1632) 1374644015 -3.845211500768958 treat image : temp/1753986448_3465803_1374644014_b74aff322e5dbdfb35895151cfd24887.jpg resize: (1080, 1632) 1374644014 -4.628110127013155 treat image : temp/1753986448_3465803_1374644013_488a32c49654b140dd26f909e1f4c74c.jpg resize: (1080, 1632) 1374644013 -5.668515968117934 treat image : temp/1753986448_3465803_1374643990_e9ce3292f0df9d06d4a081c0ceebe185.jpg resize: (1080, 1632) 1374643990 -2.421948788783085 treat image : temp/1753986448_3465803_1374643989_34e3a4a4f7f85fbeb09e4c624c0b26b7.jpg resize: (1080, 1632) 1374643989 -1.6519973060653055 treat image : temp/1753986448_3465803_1374643988_b5e6ec927b74e8b6d515aaa6742749ce.jpg resize: (1080, 1632) 1374643988 -2.2241052019920247 treat image : temp/1753986448_3465803_1374643987_d0ae416057016e99b57c230deb842778.jpg resize: (1080, 1632) 1374643987 -2.3935084939748186 treat image : temp/1753986448_3465803_1374643986_d591713ec3c8c325670185936cee33e0.jpg resize: (1080, 1632) 1374643986 -0.9419150262042315 treat image : temp/1753986448_3465803_1374643982_8a40150a8f148f28fd217ae59562c4ef.jpg resize: (1080, 1632) 1374643982 -3.5177357652276284 treat image : temp/1753986448_3465803_1374643958_80c7a391fd91ac061e252fe92c2bb6c5.jpg resize: (1080, 1632) 1374643958 -3.4986444371375636 treat image : temp/1753986448_3465803_1374643956_877bbc58d485c008d23d09b662181458.jpg resize: (1080, 1632) 1374643956 -5.713335318390443 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.012794971466064453 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.011891841888427734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014880180358886719 save missing photos in datou_result : time spend for datou_step_exec : 14.527648687362671 time spend to save output : 0.044278621673583984 total time spend for step 1 : 14.571927309036255 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 2.77system 0:20.84elapsed 81%CPU (0avgtext+0avgdata 137504maxresident)k 128inputs+8936outputs (3major+177968minor)pagefaults 0swaps