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 : 3000472 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3000472/ 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.3524386882781982 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 Fri Jul 18 07:57:32 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/1752818249_3000472_1372324418_d54ea995f69bea10807829764189950f.jpg resize: (1080, 1632) 1372324418 -5.407115863585574 treat image : temp/1752818249_3000472_1372324416_f0281135b5a3b6bedad5fcbb05f3de3a.jpg resize: (1080, 1632) 1372324416 -5.402451745460358 treat image : temp/1752818249_3000472_1372324414_735077b958ade399d3ccafd5f2432d10.jpg resize: (1080, 1632) 1372324414 -5.4114270899101635 treat image : temp/1752818249_3000472_1372324412_f8a6cbe8b1364478961fd8ef4652059c.jpg resize: (1080, 1632) 1372324412 -5.450629330615965 treat image : temp/1752818249_3000472_1372324397_e311716cc49cb6811fb7c3f805b314af.jpg resize: (1080, 1632) 1372324397 -5.278680652612635 treat image : temp/1752818249_3000472_1372324394_4e55934550f626d860e38cdfe05a303f.jpg resize: (1080, 1632) 1372324394 -5.27678208566894 treat image : temp/1752818249_3000472_1372324391_4832d8656bf8f233c608fea681617465.jpg resize: (1080, 1632) 1372324391 -5.271294255338561 treat image : temp/1752818249_3000472_1372324387_a62ad25647d3813e253057c91599f85e.jpg resize: (1080, 1632) 1372324387 -5.42001194810373 treat image : temp/1752818249_3000472_1372324383_59ccd88725c3224fe6057759b6583114.jpg resize: (1080, 1632) 1372324383 -5.415739666881784 treat image : temp/1752818249_3000472_1372324381_a736122620197c9d104e395b50762f27.jpg resize: (1080, 1632) 1372324381 -5.409818014745502 treat image : temp/1752818249_3000472_1372324366_228689d00d9de94fe7e5a3e104baed6f.jpg resize: (1080, 1632) 1372324366 -5.332909601231297 treat image : temp/1752818249_3000472_1372324363_c8dab8eb62b575043598b798d76bb900.jpg resize: (1080, 1632) 1372324363 -5.317314216126498 treat image : temp/1752818249_3000472_1372324361_9707772d2bc577b8c413bc1b4d4dcd92.jpg resize: (1080, 1632) 1372324361 -5.297552495314655 treat image : temp/1752818249_3000472_1372324358_699ce0d4207d7fe5e52eaf8c07ac6153.jpg resize: (1080, 1632) 1372324358 -5.29141165951001 treat image : temp/1752818249_3000472_1372324354_ebb3c901adcc21be8fc9688e13cf1fe7.jpg resize: (1080, 1632) 1372324354 -5.280165721151343 treat image : temp/1752818249_3000472_1372324351_d68bb6e52068cd24021a96eeb1e879d2.jpg resize: (1080, 1632) 1372324351 -5.275991091308143 treat image : temp/1752818249_3000472_1372324333_8aba2fb49d2a77fbe8fc6415299d8735.jpg resize: (1080, 1632) 1372324333 -5.415391216013298 treat image : temp/1752818249_3000472_1372324331_998855857b24b1e89c3b70a5d5189324.jpg resize: (1080, 1632) 1372324331 -5.263487239182949 treat image : temp/1752818249_3000472_1372324329_64b1d85d6e4f6cbba568fa521dd86bbc.jpg resize: (1080, 1632) 1372324329 -5.286005424524605 treat image : temp/1752818249_3000472_1372324327_07d192d6fc4a72d77ce8f603f561e1d9.jpg resize: (1080, 1632) 1372324327 -5.305192716530813 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.01259469985961914 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.04201459884643555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05505847930908203 save missing photos in datou_result : time spend for datou_step_exec : 15.127291679382324 time spend to save output : 0.1147301197052002 total time spend for step 1 : 15.242021799087524 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 3.22system 0:22.42elapsed 78%CPU (0avgtext+0avgdata 139336maxresident)k 0inputs+10496outputs (12major+252199minor)pagefaults 0swaps