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 : 2312806 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 : 1438>100 please execute split_portfolio.py -i 25355081 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3360854'] with mtr_portfolio_ids : ['25355081'] and first list_photo_ids : [] new path : /proc/2312806/ 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.3452961444854736 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 Sat Jul 26 04:47: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/1753498049_2312806_1373866235_5b56756ef8b431a2cebc83ec82d48fb0.jpg resize: (1080, 1632) 1373866235 -4.5015658926840425 treat image : temp/1753498049_2312806_1373866233_d9caee184539d39ed645654aeea63633.jpg resize: (1080, 1632) 1373866233 -4.50693089298174 treat image : temp/1753498049_2312806_1373866232_6102a79306bae15fb39c1e4e8888895f.jpg resize: (1080, 1632) 1373866232 -4.50367946551845 treat image : temp/1753498049_2312806_1373866231_09a317e50e881fb0e03bdce4b36ae2c6.jpg resize: (1080, 1632) 1373866231 -4.504314638249508 treat image : temp/1753498049_2312806_1373866229_42dd8a683b0b306b063de55c0a482cde.jpg resize: (1080, 1632) 1373866229 -4.5086746202038945 treat image : temp/1753498049_2312806_1373866227_c06318c2410f3223ba0c39c445e6be84.jpg resize: (1080, 1632) 1373866227 -4.511124101994259 treat image : temp/1753498049_2312806_1373866209_1684f550cbeb61e48c94ba7587a72815.jpg resize: (1080, 1632) 1373866209 -4.506564983491178 treat image : temp/1753498049_2312806_1373866206_8846e773afd2d8500599ed882abf0c49.jpg resize: (1080, 1632) 1373866206 -4.49901261158377 treat image : temp/1753498049_2312806_1373866198_7bdc9cfc3de94c2fca272fd86ad20d8f.jpg resize: (1080, 1632) 1373866198 -4.507591215693373 treat image : temp/1753498049_2312806_1373866189_a8470401f2d951aa8c8e18ae3767a43a.jpg resize: (1080, 1632) 1373866189 -4.502239754122903 treat image : temp/1753498049_2312806_1373866181_6678ecf6c7df1ae3d37113b82c192c60.jpg resize: (1080, 1632) 1373866181 -4.494779539558658 treat image : temp/1753498049_2312806_1373866178_efc240283779b2b72407fdc3ab90cc94.jpg resize: (1080, 1632) 1373866178 -4.477582613487782 treat image : temp/1753498049_2312806_1373866157_fb124850cd68c24c70fef05aeeba0967.jpg resize: (1080, 1632) 1373866157 -4.500591010501917 treat image : temp/1753498049_2312806_1373866154_958c58330df853b2eff346b886933c70.jpg resize: (1080, 1632) 1373866154 -4.496716200696005 treat image : temp/1753498049_2312806_1373866150_32a9f409455c33d150cc868b31f539c2.jpg resize: (1080, 1632) 1373866150 -4.5075573182740225 treat image : temp/1753498049_2312806_1373866148_59118904f24217b871ee5de9309e6b2b.jpg resize: (1080, 1632) 1373866148 -4.49807443038863 treat image : temp/1753498049_2312806_1373866144_fab55af2efa77ef2cd6cd37ff968eafa.jpg resize: (1080, 1632) 1373866144 -4.51341950272039 treat image : temp/1753498049_2312806_1373866141_9442b372bb43faaaab03219b4919ed0c.jpg resize: (1080, 1632) 1373866141 -4.505146373965138 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.01653766632080078 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.015889883041381836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.6571159362792969 save missing photos in datou_result : time spend for datou_step_exec : 13.174387216567993 time spend to save output : 0.6947331428527832 total time spend for step 1 : 13.869120359420776 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.47user 3.04system 0:20.26elapsed 76%CPU (0avgtext+0avgdata 140976maxresident)k 0inputs+8360outputs (1major+245134minor)pagefaults 0swaps