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 : 3925930 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 updating current state to 1 we have a portfolio with more photos than limit : 1250>100 please execute split_portfolio.py -i 26381712 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3643956'] with mtr_portfolio_ids : ['26381712'] and first list_photo_ids : [] new path : /proc/3925930/ 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.1028566360473633 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 Sep 1 14:17: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/1756729048_3925930_1380630206_136c425481f805bb7996d1d6b679666f_39452478.jpg resize: (1080, 1632) 1380630206 -4.141333330057101 treat image : temp/1756729048_3925930_1380630202_b13d580a0471922d8abb45129b448334_21406578.jpg resize: (1080, 1632) 1380630202 -5.302104545505154 treat image : temp/1756729048_3925930_1380630092_b619b173d7367d54285b17d4442cbc24_68191887.jpg resize: (1080, 1632) 1380630092 -4.097185133610275 treat image : temp/1756729048_3925930_1380630090_0b9f47d1dc1e8457f1240be503a38359_2601057.jpg resize: (1080, 1632) 1380630090 -4.610128265858274 treat image : temp/1756729048_3925930_1380630088_1a5bbd2e939884b517016deceea2b55d_2690236.jpg resize: (1080, 1632) 1380630088 -5.6418110478111485 treat image : temp/1756729048_3925930_1380630086_da56b6da973174ce9250dc615cb05d0b_6844807.jpg resize: (1080, 1632) 1380630086 -4.086395556597314 treat image : temp/1756729048_3925930_1380630084_bd436e911797922c7af9c4597bff9da3_785369.jpg resize: (1080, 1632) 1380630084 -4.8113873916179175 treat image : temp/1756729048_3925930_1380630082_d43eb428dcbf6666af9a704d6dc04eb2_2313176.jpg resize: (1080, 1632) 1380630082 -1.7161700685979184 treat image : temp/1756729048_3925930_1380629528_136c425481f805bb7996d1d6b679666f_71843535.jpg resize: (1080, 1632) 1380629528 -4.141333330057101 treat image : temp/1756729048_3925930_1380629527_b13d580a0471922d8abb45129b448334_87755591.jpg resize: (1080, 1632) 1380629527 -5.302104545505154 treat image : temp/1756729048_3925930_1380629526_b619b173d7367d54285b17d4442cbc24_60671171.jpg resize: (1080, 1632) 1380629526 -4.097185133610275 treat image : temp/1756729048_3925930_1380629525_0b9f47d1dc1e8457f1240be503a38359_54738847.jpg resize: (1080, 1632) 1380629525 -4.610128265858274 treat image : temp/1756729048_3925930_1380629253_22f4928615dc1c30f0cb7c0519f7cf4c_22175847.jpg resize: (1080, 1632) 1380629253 -5.151720977753326 treat image : temp/1756729048_3925930_1380629251_1806d475ae2a7a7128026c6ca7904661_6329234.jpg resize: (1080, 1632) 1380629251 -4.682136338452274 treat image : temp/1756729048_3925930_1380629249_e509c7408a577edc7c01711cdbb1c146_38085881.jpg resize: (1080, 1632) 1380629249 -4.941431837559248 treat image : temp/1756729048_3925930_1380629247_cfb852d46394be1f0d6729f63f346363_44945552.jpg resize: (1080, 1632) 1380629247 -5.251789758250708 treat image : temp/1756729048_3925930_1380629245_a772528882e2f5903ffd09b67457b43a_34067920.jpg resize: (1080, 1632) 1380629245 -4.818281253417082 treat image : temp/1756729048_3925930_1380629242_2b401b393b1989ea17973226517a21f8_4077765.jpg resize: (1080, 1632) 1380629242 -5.606331958051706 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.012819528579711914 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.012653589248657227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01503300666809082 save missing photos in datou_result : time spend for datou_step_exec : 13.704211473464966 time spend to save output : 0.04553866386413574 total time spend for step 1 : 13.749750137329102 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 13.01user 2.98system 0:19.07elapsed 83%CPU (0avgtext+0avgdata 139212maxresident)k 0inputs+8728outputs (12major+235773minor)pagefaults 0swaps