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 : 771148 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 : 2577>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/771148/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.104213237762451 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 24 08:17: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/1753337849_771148_1373475086_ac938b684485ed95404c85101e352f98.jpg resize: (1080, 1632) 1373475086 -4.788617976007654 treat image : temp/1753337849_771148_1373475082_ed80a382b7fc508c36a9826ab7506e4d.jpg resize: (1080, 1632) 1373475082 -5.954226044688923 treat image : temp/1753337849_771148_1373475079_e1cd94f8d169be718bd949cc49811b6a.jpg resize: (1080, 1632) 1373475079 -1.699330426629839 treat image : temp/1753337849_771148_1373475078_c63117df258c85cf09fd7d4f086fdf15.jpg resize: (1080, 1632) 1373475078 -2.0780106733185564 treat image : temp/1753337849_771148_1373475077_51f915749fbd410ea40e9a6a33b9a5ee.jpg resize: (1080, 1632) 1373475077 -3.2881432786634823 treat image : temp/1753337849_771148_1373475070_265da7113d6208adb6ab394ea2def94b.jpg resize: (1080, 1632) 1373475070 -2.353820251980115 treat image : temp/1753337849_771148_1373474997_c77e87385c8559335dbcfc1ad73972e3.jpg resize: (1080, 1632) 1373474997 -5.5920396562015 treat image : temp/1753337849_771148_1373474993_a6fa0e3f4370917cf2473b769469d836.jpg resize: (1080, 1632) 1373474993 -3.683691219954801 treat image : temp/1753337849_771148_1373474991_c4677e2e52b04f0ca80cde654faab5ac.jpg resize: (1080, 1632) 1373474991 -5.995357773662072 treat image : temp/1753337849_771148_1373474989_077702cd5c51266d125ea4b276e3c4bb.jpg resize: (1080, 1632) 1373474989 -5.62945337686543 treat image : temp/1753337849_771148_1373474984_911b385916f60bf7ebb17e598571d40e.jpg resize: (1080, 1632) 1373474984 -6.053359107872958 treat image : temp/1753337849_771148_1373474976_c3d3151d2531eb33ce526fb15b74cac4.jpg resize: (1080, 1632) 1373474976 -6.260235919802291 treat image : temp/1753337849_771148_1373474738_be87b0934c23b42514bb9d13cdcee0ff.jpg resize: (1080, 1632) 1373474738 -4.450587326358064 treat image : temp/1753337849_771148_1373474709_a5815fe85868833194aae3d009e51e43.jpg resize: (1080, 1632) 1373474709 -1.8120321777204011 treat image : temp/1753337849_771148_1373474683_9527369030bfe6e7a5517cbee27c760e.jpg resize: (1080, 1632) 1373474683 -3.325930992200283 treat image : temp/1753337849_771148_1373474659_917fb450ff1d12af6fd779d6dd2294aa.jpg resize: (1080, 1632) 1373474659 -2.511986539262333 treat image : temp/1753337849_771148_1373474634_8896de17e4c50a2e1bb103b5c58d2dad.jpg resize: (1080, 1632) 1373474634 -2.5817886885361294 treat image : temp/1753337849_771148_1373474625_56d779d9c7b693226b739039c7dd9f31.jpg resize: (1080, 1632) 1373474625 -3.9185858568029697 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 : 18 time used for this insertion : 0.0187985897064209 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.03574395179748535 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.018146753311157227 save missing photos in datou_result : time spend for datou_step_exec : 16.860734224319458 time spend to save output : 0.07807612419128418 total time spend for step 1 : 16.938810348510742 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 14.18user 5.38system 0:23.36elapsed 83%CPU (0avgtext+0avgdata 137508maxresident)k 136inputs+8336outputs (19major+231938minor)pagefaults 0swaps