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 : 3411990 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 : 2618>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3411990/ 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.6673316955566406 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 May 12 18:07: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/1747066049_3411990_1357680608_a683d8e656c96ab1a9f257745b32e5b4.jpg resize: (1080, 1632) 1357680608 -4.9648956215768845 treat image : temp/1747066049_3411990_1357671390_8f12da268f8efa1c6ad668047dcea52a.jpg resize: (1080, 1632) 1357671390 -3.880792687218165 treat image : temp/1747066049_3411990_1357671362_f171a87f05f6f6ce1482a461bb622ec6.jpg resize: (1080, 1632) 1357671362 -5.2596099866918715 treat image : temp/1747066049_3411990_1357671334_42c84ed9998dc3777117e3a735a2a865.jpg resize: (1080, 1632) 1357671334 -5.305064468641973 treat image : temp/1747066049_3411990_1357671307_2ba13e0f7ed67dcce7ed249854d9f97b.jpg resize: (1080, 1632) 1357671307 -5.673262987772157 treat image : temp/1747066049_3411990_1357671210_a9ccd83875cbb26338061a7da035545d.jpg resize: (1080, 1632) 1357671210 -1.0472681331761102 treat image : temp/1747066049_3411990_1357671206_a092ca4ba3c9a8f495aa889dff8f4d04.jpg resize: (1080, 1632) 1357671206 -1.9453104020846088 treat image : temp/1747066049_3411990_1357671203_5d3e4c9da3c5b2766a9681cfcefaff36.jpg resize: (1080, 1632) 1357671203 -5.428554907133883 treat image : temp/1747066049_3411990_1357671201_5e8cfc2264457a9f36fbb7ed8acf3bb1.jpg resize: (1080, 1632) 1357671201 -4.800254323247492 treat image : temp/1747066049_3411990_1357671182_5ab7a23da9e169ababd9f525e0ebdb43.jpg resize: (1080, 1632) 1357671182 -5.726497817249788 treat image : temp/1747066049_3411990_1357671154_8b3be5da51fe56be340475e2c5c1a137.jpg resize: (1080, 1632) 1357671154 -5.822095577733094 treat image : temp/1747066049_3411990_1357670969_f810556a156b44701b10d9e261e3931d.jpg resize: (1080, 1632) 1357670969 -5.841730665521926 treat image : temp/1747066049_3411990_1357670911_6f8a76c456037c9f17c83ea2d99835ef.jpg resize: (1080, 1632) 1357670911 -5.404455451659122 treat image : temp/1747066049_3411990_1357670885_ece411c022a8b5f78dcf4ea8de9a1ab4.jpg resize: (1080, 1632) 1357670885 -5.932798083953427 treat image : temp/1747066049_3411990_1357670863_e4b47bc70366a8694f366dd3324e525d.jpg resize: (1080, 1632) 1357670863 -4.0204512293514245 treat image : temp/1747066049_3411990_1357670542_e1322f2b149b2fa73e406d7218721783.jpg resize: (1080, 1632) 1357670542 -3.119818220111632 treat image : temp/1747066049_3411990_1357670490_fffbf832d7e30b8706285b1744bc0b16.jpg resize: (1080, 1632) 1357670490 -5.800208995249246 treat image : temp/1747066049_3411990_1357670440_a7996dc76cff828ba0f7efae71c19e7e.jpg resize: (1080, 1632) 1357670440 -3.366985307684295 treat image : temp/1747066049_3411990_1357670408_3282acac494e9541927066751f38a75f.jpg resize: (1080, 1632) 1357670408 -5.844483575547677 treat image : temp/1747066049_3411990_1357670353_8af798557bad86817a8a740d035e5727.jpg resize: (1080, 1632) 1357670353 -5.744989705781658 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.014567136764526367 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.014888763427734375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017094850540161133 save missing photos in datou_result : time spend for datou_step_exec : 16.958258628845215 time spend to save output : 0.051673173904418945 total time spend for step 1 : 17.009931802749634 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 4.56system 0:23.68elapsed 81%CPU (0avgtext+0avgdata 139676maxresident)k 176inputs+10192outputs (13major+257697minor)pagefaults 0swaps