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 : 173175 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 : 4435>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/173175/ 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.687516689300537 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 13:17:28 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/1752751045_173175_1372403784_38e343afd1a91f13d6a7b89860e02999.jpg resize: (1080, 1632) 1372403784 -5.605151189222673 treat image : temp/1752751045_173175_1372403781_c2c362c79818dd204ed0874126a297f7.jpg resize: (1080, 1632) 1372403781 -5.601470470461416 treat image : temp/1752751045_173175_1372403778_8fca1305f8eec127ee07fc9f470efa25.jpg resize: (1080, 1632) 1372403778 -5.598414459796536 treat image : temp/1752751045_173175_1372403767_f71d49e3fe5e6b298ed65d6ba2fd1f7d.jpg resize: (1080, 1632) 1372403767 -5.594386367772564 treat image : temp/1752751045_173175_1372403761_1516212d6909602059a0b59685310eaa.jpg resize: (1080, 1632) 1372403761 -5.5960364256504285 treat image : temp/1752751045_173175_1372403752_b3e868c4364987844e44445678bb7922.jpg resize: (1080, 1632) 1372403752 -5.601704638952936 treat image : temp/1752751045_173175_1372403714_d4192212d591c2b621304593ff3fec46.jpg resize: (1080, 1632) 1372403714 -5.603078522827396 treat image : temp/1752751045_173175_1372343829_473026563b612ddac7f0f488108c3eb9.jpg resize: (1080, 1632) 1372343829 -4.4565100844318595 treat image : temp/1752751045_173175_1372343827_11120f54f29c31c7e669ef8831243f5f.jpg resize: (1080, 1632) 1372343827 -4.457182095711421 treat image : temp/1752751045_173175_1372343826_61b64f06063e71927e900ec74b8b9089.jpg resize: (1080, 1632) 1372343826 -4.459384551907262 treat image : temp/1752751045_173175_1372343825_e7b21e6310cd90efa88f30e333d640df.jpg resize: (1080, 1632) 1372343825 -4.451356374706367 treat image : temp/1752751045_173175_1372343823_aa769a0b6755cb600cf4f0eaca183c28.jpg resize: (1080, 1632) 1372343823 -4.420571350914514 treat image : temp/1752751045_173175_1372343821_9667d03892fd25fd50b58efe7deb0336.jpg resize: (1080, 1632) 1372343821 -4.45157809847017 treat image : temp/1752751045_173175_1372343800_7614e765a2f708103be466a2608c0c84.jpg resize: (1080, 1632) 1372343800 -1.5937234852655227 treat image : temp/1752751045_173175_1372343797_0193142466d74555d64b2eb3c3e954c1.jpg resize: (1080, 1632) 1372343797 -1.568564045075353 treat image : temp/1752751045_173175_1372343794_3e2954c516d7b5cda73cb437f10978bc.jpg resize: (1080, 1632) 1372343794 -1.5573867126258993 treat image : temp/1752751045_173175_1372343791_e1e9aa0e43affd0a40e17353bb78fc40.jpg resize: (1080, 1632) 1372343791 -4.650460286507811 treat image : temp/1752751045_173175_1372343789_3909a01ee92a3c5808b968dde022e633.jpg resize: (1080, 1632) 1372343789 -4.702748924382204 treat image : temp/1752751045_173175_1372343785_6a33f51fc1439cde670876966dcdbf29.jpg resize: (1080, 1632) 1372343785 -4.69779930103035 treat image : temp/1752751045_173175_1372343761_1b5da402a6b46c3fcd72fd4ce16cbfff.jpg resize: (1080, 1632) 1372343761 -2.5611234904344644 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.03186440467834473 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.03119802474975586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028811931610107422 save missing photos in datou_result : time spend for datou_step_exec : 15.5824294090271 time spend to save output : 0.10523033142089844 total time spend for step 1 : 15.687659740447998 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 3.78system 0:19.98elapsed 90%CPU (0avgtext+0avgdata 138524maxresident)k 120inputs+8640outputs (1major+259912minor)pagefaults 0swaps