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 : 2723065 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 : 1948>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/2723065/ 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 : 1.8973941802978516 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 Jul 18 05:47: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/1752810447_2723065_1372591228_a55a0a0372ccc4d2febfcb98c916795b.jpg resize: (1080, 1632) 1372591228 -3.9587200078416784 treat image : temp/1752810447_2723065_1372591221_249d72c26a81096c804fbd37935bad82.jpg resize: (1080, 1632) 1372591221 -3.959984332834998 treat image : temp/1752810447_2723065_1372591220_31050cb8a987f7edfb413e8a591c14fe.jpg resize: (1080, 1632) 1372591220 -3.9669996456659504 treat image : temp/1752810447_2723065_1372591218_c91ea26731413d5f96e26560d186eb9c.jpg resize: (1080, 1632) 1372591218 -3.961034566034386 treat image : temp/1752810447_2723065_1372591217_0d96a7718484a25d6a272fee8f0bee86.jpg resize: (1080, 1632) 1372591217 -3.965801224777853 treat image : temp/1752810447_2723065_1372591214_3cf63d93617149d23807bb3b319e6aab.jpg resize: (1080, 1632) 1372591214 -3.9708717041512096 treat image : temp/1752810447_2723065_1372591201_715555b3c003e36ba44206e2c826bdc7.jpg resize: (1080, 1632) 1372591201 -3.9542284222842685 treat image : temp/1752810447_2723065_1372591190_645d410fce9e01afb6b7de65df757e2a.jpg resize: (1080, 1632) 1372591190 -3.953085864430626 treat image : temp/1752810447_2723065_1372591188_d400962bdc2a504f320df90619a917fc.jpg resize: (1080, 1632) 1372591188 -3.955818524384056 treat image : temp/1752810447_2723065_1372591186_c55bbe70dca3a475adfec73ca7aa0cb3.jpg resize: (1080, 1632) 1372591186 -3.9557705963662735 treat image : temp/1752810447_2723065_1372591174_aa8bc07173fa10d73e38d5359b0448fe.jpg resize: (1080, 1632) 1372591174 -3.959210482573741 treat image : temp/1752810447_2723065_1372591173_34569fb2e9e3116e20b2d54cf262ca55.jpg resize: (1080, 1632) 1372591173 -3.9566833262382604 treat image : temp/1752810447_2723065_1372591166_77e3d62fceb9a24dc3f492ad7646a8bc.jpg resize: (1080, 1632) 1372591166 -3.958164891013559 treat image : temp/1752810447_2723065_1372591165_c0cf5472bfbb532f3a689400d9d10acc.jpg resize: (1080, 1632) 1372591165 -3.9602577985766136 treat image : temp/1752810447_2723065_1372591164_bbcb985abed085d5937d1b8841ad85e7.jpg resize: (1080, 1632) 1372591164 -3.963902280397248 treat image : temp/1752810447_2723065_1372591161_3ddc8b21de59ee6b695b84428dc80b61.jpg resize: (1080, 1632) 1372591161 -3.961871587383457 treat image : temp/1752810447_2723065_1372591158_3619f299541aade58530b90e705296e6.jpg resize: (1080, 1632) 1372591158 -3.955875645398594 treat image : temp/1752810447_2723065_1372591156_c291ea5259f672466f32245bdc6d2389.jpg resize: (1080, 1632) 1372591156 -3.951398377409425 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.013576030731201172 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.20230937004089355 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.37912893295288086 save missing photos in datou_result : time spend for datou_step_exec : 13.678853511810303 time spend to save output : 0.6004297733306885 total time spend for step 1 : 14.279283285140991 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 12.80user 3.17system 0:17.49elapsed 91%CPU (0avgtext+0avgdata 138768maxresident)k 48inputs+7080outputs (5major+233365minor)pagefaults 0swaps