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 : 2952233 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 : 2436>100 please execute split_portfolio.py -i 25861864 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3493671'] with mtr_portfolio_ids : ['25861864'] and first list_photo_ids : [] new path : /proc/2952233/ 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.2462375164031982 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 Mon Aug 11 16:22: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/1754922147_2952233_1376455625_32a687318607f6ce3d4c20376c45c593.jpg resize: (1080, 1632) 1376455625 -5.442390798036373 treat image : temp/1754922147_2952233_1376455622_e0ad276c1ec261d8791c0de8da6debe5.jpg resize: (1080, 1632) 1376455622 -5.122850159905245 treat image : temp/1754922147_2952233_1376455618_bf4966139d68433f1283014a4919848f.jpg resize: (1080, 1632) 1376455618 -1.4347966087766086 treat image : temp/1754922147_2952233_1376455598_a0b1e795e29367df83509ecd69c00dc8.jpg resize: (1080, 1632) 1376455598 -2.3196908996443715 treat image : temp/1754922147_2952233_1376455596_4bb6105b5172098a307c1348b058d223.jpg resize: (1080, 1632) 1376455596 -2.8685632782342654 treat image : temp/1754922147_2952233_1376455595_e2104133b2f659e2eb2315fd579ea540.jpg resize: (1080, 1632) 1376455595 -4.238059878878733 treat image : temp/1754922147_2952233_1376455592_bfeda82e8000baf80eb2207038b0025e.jpg resize: (1080, 1632) 1376455592 -4.626116888497923 treat image : temp/1754922147_2952233_1376455577_d9c531684b8784d53c67a686d237efb8.jpg resize: (1080, 1632) 1376455577 -2.962684193422102 treat image : temp/1754922147_2952233_1376455573_20e7c0b1f0d7ce9eee1eda7041315962.jpg resize: (1080, 1632) 1376455573 -5.203819410561757 treat image : temp/1754922147_2952233_1376455569_6a6a8b0ad51e8728c5b7b91d79d8c311.jpg resize: (1080, 1632) 1376455569 -3.3081617285374563 treat image : temp/1754922147_2952233_1376455566_c3f9e02d57ea63b8ae4572962a8155d6.jpg resize: (1080, 1632) 1376455566 -4.660177637848245 treat image : temp/1754922147_2952233_1376455564_0dcf6c624aac9139d8da90ed53bd09a3.jpg resize: (1080, 1632) 1376455564 -5.692721193419818 treat image : temp/1754922147_2952233_1376455563_b2af41d24cda117d4e0dae1c0b1befb2.jpg resize: (1080, 1632) 1376455563 -4.984217938394133 treat image : temp/1754922147_2952233_1376455286_6fb1c29f234352ee5e8204c2766d5897.jpg resize: (1080, 1632) 1376455286 -4.8987512105777045 treat image : temp/1754922147_2952233_1376455282_b23b880c66b895ce8000401799b250dd.jpg resize: (1080, 1632) 1376455282 -2.9632079607764705 treat image : temp/1754922147_2952233_1376455277_53df726d319f9c7b44766bdf67bd4434.jpg resize: (1080, 1632) 1376455277 -4.400304855509428 treat image : temp/1754922147_2952233_1376455272_949b490607afa5d00f821c9f387f70a3.jpg resize: (1080, 1632) 1376455272 -4.994734016105887 treat image : temp/1754922147_2952233_1376455144_6c2f6e146bb320ba69988c927ec9fa0c.jpg resize: (1080, 1632) 1376455144 -5.039353777843151 treat image : temp/1754922147_2952233_1376455120_2c33eaa1685bfe0f5fce2a3fa2a27f8e.jpg resize: (1080, 1632) 1376455120 -4.695022202806118 treat image : temp/1754922147_2952233_1376455118_9c9291b0d39076d19c859fc969edfb88.jpg resize: (1080, 1632) 1376455118 -4.256699135448917 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.015398025512695312 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.015862226486206055 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017091989517211914 save missing photos in datou_result : time spend for datou_step_exec : 17.6808078289032 time spend to save output : 0.05358076095581055 total time spend for step 1 : 17.73438858985901 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 5.88system 0:21.95elapsed 90%CPU (0avgtext+0avgdata 139908maxresident)k 0inputs+8768outputs (11major+259819minor)pagefaults 0swaps