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 : 1357068 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/1357068/ 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.2441389560699463 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 17 20:42: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/1752777749_1357068_1372334242_bde8192874ca0933015c02518316c1cc.jpg resize: (1080, 1632) 1372334242 -3.058627534481982 treat image : temp/1752777749_1357068_1372334240_1be45bc89ad49563e73169c1d3983bd5.jpg resize: (1080, 1632) 1372334240 -3.081073006906343 treat image : temp/1752777749_1357068_1372334238_3192733544ef62676c0e8881c449c8ff.jpg resize: (1080, 1632) 1372334238 -3.0676989734093154 treat image : temp/1752777749_1357068_1372334237_ad0759488e584270e3e3a34f481b5c6f.jpg resize: (1080, 1632) 1372334237 -3.061484725350621 treat image : temp/1752777749_1357068_1372334234_8267fbbfca7e2fcdb0530764135aa3ad.jpg resize: (1080, 1632) 1372334234 -3.0625621663291556 treat image : temp/1752777749_1357068_1372334231_c9c230bac1e408f7426ca93e2d21629d.jpg resize: (1080, 1632) 1372334231 -3.063858155550162 treat image : temp/1752777749_1357068_1372334207_dc64cb790b4159fc45100d7dd1b30365.jpg resize: (1080, 1632) 1372334207 -1.8832663278727368 treat image : temp/1752777749_1357068_1372334204_bcc913fa3a755394de257f10c4ab2d40.jpg resize: (1080, 1632) 1372334204 -3.0462528852227186 treat image : temp/1752777749_1357068_1372334201_560bd751e5959ff0ff8021b5eb47960b.jpg resize: (1080, 1632) 1372334201 -3.079279108042396 treat image : temp/1752777749_1357068_1372334199_6a5637421196c706fbea63260e11a2bb.jpg resize: (1080, 1632) 1372334199 -3.0886670243320835 treat image : temp/1752777749_1357068_1372334196_aaf63caa841266410d904b1c8c6cdcdd.jpg resize: (1080, 1632) 1372334196 -3.078814240823018 treat image : temp/1752777749_1357068_1372334194_08f7272487e28d6683d43c8c42747735.jpg resize: (1080, 1632) 1372334194 -3.0662455024535613 treat image : temp/1752777749_1357068_1372334168_4eef95c9051f2155ceb4ccde6696bc05.jpg resize: (1080, 1632) 1372334168 -2.943413945871242 treat image : temp/1752777749_1357068_1372334166_4698a973e6b3cf9f359dcee19c035367.jpg resize: (1080, 1632) 1372334166 -2.926680555174277 treat image : temp/1752777749_1357068_1372334165_d789a2586dc5c5e2ddb0b9798391331e.jpg resize: (1080, 1632) 1372334165 -2.942310803350604 treat image : temp/1752777749_1357068_1372334164_a4fd9cb2ff55b7e01ff7f4beb5c3cf72.jpg resize: (1080, 1632) 1372334164 -2.933169758624407 treat image : temp/1752777749_1357068_1372334163_fd541f07d7c7501cc463128e06fe2dcb.jpg resize: (1080, 1632) 1372334163 -2.963976771296724 treat image : temp/1752777749_1357068_1372334162_68baaf18f61e28ff08820e7d6dabb591.jpg resize: (1080, 1632) 1372334162 -2.9251508299927735 treat image : temp/1752777749_1357068_1372334139_44122273b3162d964a5add678ebc8894.jpg resize: (1080, 1632) 1372334139 -2.923094361416269 treat image : temp/1752777749_1357068_1372334137_44adc639a57bd9d5f27a23a409cfb03b.jpg resize: (1080, 1632) 1372334137 -2.9164274562073564 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.01641106605529785 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.017915010452270508 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02187824249267578 save missing photos in datou_result : time spend for datou_step_exec : 16.187784671783447 time spend to save output : 0.06093883514404297 total time spend for step 1 : 16.24872350692749 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 4.38system 0:23.75elapsed 79%CPU (0avgtext+0avgdata 137004maxresident)k 312inputs+7408outputs (7major+259892minor)pagefaults 0swaps