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 : 1262153 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 : 2086>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1262153/ 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.699659585952759 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 Sep 9 14:37: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/1757421446_1262153_1382778371_58852558076dd741a1e18a6e292fa148.jpg resize: (1080, 1632) 1382778371 -1.5789731384980608 treat image : temp/1757421446_1262153_1382778369_062b141b8dc9e6278a05d276dc0706b9.jpg resize: (1080, 1632) 1382778369 -2.197653434161524 treat image : temp/1757421446_1262153_1382778365_bc93c8712c8d1c225480f7c23874705f.jpg resize: (1080, 1632) 1382778365 -4.867814938989882 treat image : temp/1757421446_1262153_1382778348_d0d4470f9f1f456c67296975e95c83bc.jpg resize: (1080, 1632) 1382778348 -4.354277131484741 treat image : temp/1757421446_1262153_1382778343_d26555da8fac3f0249d827ecfe370c34.jpg resize: (1080, 1632) 1382778343 -5.8881272890954985 treat image : temp/1757421446_1262153_1382778338_1e2eb3d0ca85810861bdde2f126a5b0b.jpg resize: (1080, 1632) 1382778338 -5.449402901291686 treat image : temp/1757421446_1262153_1382778334_bbbedba56a5bb2cce4b05d543e7e7358.jpg resize: (1080, 1632) 1382778334 -4.335054253350764 treat image : temp/1757421446_1262153_1382778330_3ad336defa29aa533c24f3d185096b74.jpg resize: (1080, 1632) 1382778330 -5.665863052273127 treat image : temp/1757421446_1262153_1382778324_abe72f023e546ebc8d9826672853db13.jpg resize: (1080, 1632) 1382778324 -2.938032617180718 treat image : temp/1757421446_1262153_1382778312_a2283480622a6f944b9b0e2a94b62dbf.jpg resize: (1080, 1632) 1382778312 -0.8074928784117085 treat image : temp/1757421446_1262153_1382778306_7d51d5d01c011dbee80452e9018c6567.jpg resize: (1080, 1632) 1382778306 -2.242618406081186 treat image : temp/1757421446_1262153_1382778300_eafa1a1280d9587bb79634341973db53.jpg resize: (1080, 1632) 1382778300 -5.388702386694735 treat image : temp/1757421446_1262153_1382778298_fc0d4a65573d2bbe187b72c9a8a0c776.jpg resize: (1080, 1632) 1382778298 -5.459112639133743 treat image : temp/1757421446_1262153_1382778289_564d33ce1162867222ebbd4cc4f1295e.jpg resize: (1080, 1632) 1382778289 -5.241459164274952 treat image : temp/1757421446_1262153_1382778285_143fefa975e2ade1292a5479ac50b799.jpg resize: (1080, 1632) 1382778285 -5.356679164961971 treat image : temp/1757421446_1262153_1382778282_3a23e559766a057cacb5e1817855766d.jpg resize: (1080, 1632) 1382778282 -5.83796058467574 treat image : temp/1757421446_1262153_1382778279_a90bdfd545789a37fad0b580bffd11b8.jpg resize: (1080, 1632) 1382778279 -5.766305585549709 treat image : temp/1757421446_1262153_1382778277_3b14518a517fc6a37bfae3f5d89f485f.jpg resize: (1080, 1632) 1382778277 -3.9813076960211866 treat image : temp/1757421446_1262153_1382778275_613c7e3e3ad40122992b53b37f18f18e.jpg resize: (1080, 1632) 1382778275 -5.876688242824925 treat image : temp/1757421446_1262153_1382778239_6db5d4ebb6e1d92c9baad83fdca10f11.jpg resize: (1080, 1632) 1382778239 -0.8074928784117085 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.017149925231933594 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.014995813369750977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018079519271850586 save missing photos in datou_result : time spend for datou_step_exec : 14.933828592300415 time spend to save output : 0.05596780776977539 total time spend for step 1 : 14.98979640007019 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 2.66system 0:19.82elapsed 87%CPU (0avgtext+0avgdata 138724maxresident)k 1952inputs+9712outputs (27major+264116minor)pagefaults 0swaps