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 : 143782 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 : 7358>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/143782/ 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.4012298583984375 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 Aug 1 04:12: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/1754014347_143782_1374707626_f818511f7b0945e5df3bc00967a5d559.jpg resize: (1080, 1632) 1374707626 -4.246496575956812 treat image : temp/1754014347_143782_1374707624_44ed36fa01fb75dd04001e505e697c15.jpg resize: (1080, 1632) 1374707624 -1.388561286679024 treat image : temp/1754014347_143782_1374707623_2c92fdee94c3b877013f4ad6cb9469d4.jpg resize: (1080, 1632) 1374707623 -2.3530894073266797 treat image : temp/1754014347_143782_1374707620_122f5a28a42e39faf18ec558073db300.jpg resize: (1080, 1632) 1374707620 -5.441171470408365 treat image : temp/1754014347_143782_1374707553_af0876f9b55870b533787997775b131b.jpg resize: (1080, 1632) 1374707553 -5.7507689167558205 treat image : temp/1754014347_143782_1374707550_1d1d4334a992b312e3f7aa62c5e420e8.jpg resize: (1080, 1632) 1374707550 -4.484727620453223 treat image : temp/1754014347_143782_1374707546_5102047b97a5ce3e74239c3e306dcaf6.jpg resize: (1080, 1632) 1374707546 -2.318065087372152 treat image : temp/1754014347_143782_1374707543_5ca190595a392d1d4953a024c1999f2b.jpg resize: (1080, 1632) 1374707543 -1.9346878991221685 treat image : temp/1754014347_143782_1374707477_4dcc400ed052fd3b91f918b324b8a330.jpg resize: (1080, 1632) 1374707477 -3.873608443039524 treat image : temp/1754014347_143782_1374707475_7c898abdf357cd1e34130274c5f513bb.jpg resize: (1080, 1632) 1374707475 -1.220337090596426 treat image : temp/1754014347_143782_1374707473_f1a14c5382078774bcc47056293409fb.jpg resize: (1080, 1632) 1374707473 -2.7245727788821092 treat image : temp/1754014347_143782_1374707470_e688ae5c355662c2a1d449a265db7a6d.jpg resize: (1080, 1632) 1374707470 -4.174150894543504 treat image : temp/1754014347_143782_1374707465_396a910337b8e2c51120b204714395ba.jpg resize: (1080, 1632) 1374707465 -5.674582986843205 treat image : temp/1754014347_143782_1374707464_5855a90df09a53ba8c796297ebbb75ae.jpg resize: (1080, 1632) 1374707464 -3.5863817137119756 treat image : temp/1754014347_143782_1374707461_fb35c2e88fdbe905f5f10b98568b92f7.jpg resize: (1080, 1632) 1374707461 -0.5224227465448623 treat image : temp/1754014347_143782_1374707453_4558f564d1931dffd970fbfc31a5dea2.jpg resize: (1080, 1632) 1374707453 -1.7840404729898438 treat image : temp/1754014347_143782_1374707450_d649b1b1944a0d3155365b482123661f.jpg resize: (1080, 1632) 1374707450 -3.834525222507029 treat image : temp/1754014347_143782_1374707428_dc05713db4c8dc883a59fe7ef6dd7f7c.jpg resize: (1080, 1632) 1374707428 -6.023249066908544 treat image : temp/1754014347_143782_1374707400_7029794843ec87afc643c2d059e635c6.jpg resize: (1080, 1632) 1374707400 -3.6169318526141483 treat image : temp/1754014347_143782_1374707376_34c39628a3193d707f94e33d537de426.jpg resize: (1080, 1632) 1374707376 -3.6398397706294014 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.01472020149230957 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.13709187507629395 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1531844139099121 save missing photos in datou_result : time spend for datou_step_exec : 14.507805824279785 time spend to save output : 0.3097202777862549 total time spend for step 1 : 14.81752610206604 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 3.36system 0:19.84elapsed 87%CPU (0avgtext+0avgdata 139280maxresident)k 0inputs+8536outputs (1major+259736minor)pagefaults 0swaps