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 : 354412 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 : 4803>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/354412/ 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.9361813068389893 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 14:22: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/1752754949_354412_1372413504_2133d1aa779d48327d2d7ea669fdf51f.jpg resize: (1080, 1632) 1372413504 -3.763721261470296 treat image : temp/1752754949_354412_1372413478_c3fa6866aaab0068d3bacd7d04a2bbbf.jpg resize: (1080, 1632) 1372413478 -5.386794069527239 treat image : temp/1752754949_354412_1372413454_c7f251c4d2ae363dba8b6c546109de68.jpg resize: (1080, 1632) 1372413454 -5.140368253175985 treat image : temp/1752754949_354412_1372413431_c4a4014d0e2190dc63c972cda706028c.jpg resize: (1080, 1632) 1372413431 -4.374142566676924 treat image : temp/1752754949_354412_1372413410_ad5f085003e6b14c29519de789f11cb1.jpg resize: (1080, 1632) 1372413410 -5.140682935375313 treat image : temp/1752754949_354412_1372413388_14132e146fe65e5566ba76893c2ddadd.jpg resize: (1080, 1632) 1372413388 -5.582353200960856 treat image : temp/1752754949_354412_1372342029_af17a0cd94c3ee8661c784499744117c.jpg resize: (1080, 1632) 1372342029 -5.252247170130325 treat image : temp/1752754949_354412_1372342009_3f662e33eeefdbc48c3f24fd08199829.jpg resize: (1080, 1632) 1372342009 -5.260836543017856 treat image : temp/1752754949_354412_1372342005_afc8204013cdd1f5994e5d4d63e1de84.jpg resize: (1080, 1632) 1372342005 -5.232762529816878 treat image : temp/1752754949_354412_1372342003_28f684277a4e524176d80747904765bd.jpg resize: (1080, 1632) 1372342003 -5.244948789418513 treat image : temp/1752754949_354412_1372342001_f7e3db77d5eb743be6ca512cafd1806b.jpg resize: (1080, 1632) 1372342001 -5.267256097984468 treat image : temp/1752754949_354412_1372341998_13b02eb8681ee811e70c9edd516ec3c1.jpg resize: (1080, 1632) 1372341998 -5.269094493991273 treat image : temp/1752754949_354412_1372341994_6aed9d3db32940c078b4de226fc14ff1.jpg resize: (1080, 1632) 1372341994 -5.264265674630135 treat image : temp/1752754949_354412_1372341966_ee7ce1c8903f5827741c438d639695a2.jpg resize: (1080, 1632) 1372341966 -5.268756451049732 treat image : temp/1752754949_354412_1372341964_311b4af948f6d4e6791f15604e27560c.jpg resize: (1080, 1632) 1372341964 -5.254900740646737 treat image : temp/1752754949_354412_1372341963_28473c72906217d6f158620442c3ded8.jpg resize: (1080, 1632) 1372341963 -5.258211661380551 treat image : temp/1752754949_354412_1372341961_a2ecbe9c4c0448e01327f0ceab666708.jpg resize: (1080, 1632) 1372341961 -5.157992999985032 treat image : temp/1752754949_354412_1372341959_88116727c9dfafa31c2c38bb9ee82b20.jpg resize: (1080, 1632) 1372341959 -5.26930128868991 treat image : temp/1752754949_354412_1372341958_0012da9064bc43d795a2adee3fb8a2a2.jpg resize: (1080, 1632) 1372341958 -5.239315612246316 treat image : temp/1752754949_354412_1372341937_6e58db9569264f2e57c10d1c874320d8.jpg resize: (1080, 1632) 1372341937 -5.384842371108702 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.02933645248413086 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.0284883975982666 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029950618743896484 save missing photos in datou_result : time spend for datou_step_exec : 15.902981996536255 time spend to save output : 0.09927153587341309 total time spend for step 1 : 16.002253532409668 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.51user 3.65system 0:22.93elapsed 79%CPU (0avgtext+0avgdata 138736maxresident)k 1808inputs+9800outputs (11major+254936minor)pagefaults 0swaps