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 : 521427 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 : 7026>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/521427/ 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.272129774093628 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 10 02:57: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/1752109047_521427_1371470369_18209d356ff2470157a588f79c08e9d7.jpg resize: (1080, 1632) 1371470369 -4.362303564313651 treat image : temp/1752109047_521427_1371470368_c337435afbc96124983959904cd005f3.jpg resize: (1080, 1632) 1371470368 -4.646848421547253 treat image : temp/1752109047_521427_1371470367_96a0668e0adf7a63aec9de62a28c3563.jpg resize: (1080, 1632) 1371470367 -4.697785228307626 treat image : temp/1752109047_521427_1371470355_77b4567cde167911f5ce3ff7f2471193.jpg resize: (1080, 1632) 1371470355 -4.686619482847513 treat image : temp/1752109047_521427_1371470344_bebf53e6250bb3cd7e9595fcf494a6c7.jpg resize: (1080, 1632) 1371470344 -2.4622864658078583 treat image : temp/1752109047_521427_1371470328_956e7cd5f2ed8008e0de249fdfb32e5a.jpg resize: (1080, 1632) 1371470328 -2.0409043787186727 treat image : temp/1752109047_521427_1371470224_d24fbae173603232bdf685154fe1988f.jpg resize: (1080, 1632) 1371470224 -3.1531604576709085 treat image : temp/1752109047_521427_1371470223_74e5dcd1abfc45abc36e5b739c81793b.jpg resize: (1080, 1632) 1371470223 -3.1932656294029105 treat image : temp/1752109047_521427_1371470222_be34941ad256e54b74876e241b5e338e.jpg resize: (1080, 1632) 1371470222 -2.8892316190665737 treat image : temp/1752109047_521427_1371470221_667001a534f7616daec4e27092e721c2.jpg resize: (1080, 1632) 1371470221 -2.0616606678948775 treat image : temp/1752109047_521427_1371470219_108203bd492df8da261488a601a87b1b.jpg resize: (1080, 1632) 1371470219 -3.096321117998989 treat image : temp/1752109047_521427_1371470216_f05890a64d175bb3ee6491f4e906d460.jpg resize: (1080, 1632) 1371470216 -5.007955678287824 treat image : temp/1752109047_521427_1371470175_8dfeae81f0e0920f788eb8b91a736153.jpg resize: (1080, 1632) 1371470175 -4.8458107909021315 treat image : temp/1752109047_521427_1371470171_e9994aa31bbd6dc668ad28e441a207f3.jpg resize: (1080, 1632) 1371470171 -2.5431116922561214 treat image : temp/1752109047_521427_1371470169_aa4030e9421bc007e16a14e09e487363.jpg resize: (1080, 1632) 1371470169 -5.005378907419473 treat image : temp/1752109047_521427_1371470166_bf11175e00ef2a81f61ff83aafc4ec59.jpg resize: (1080, 1632) 1371470166 -4.993938836481302 treat image : temp/1752109047_521427_1371470165_d57eb322c5e6cafc8caf50667a0d6071.jpg resize: (1080, 1632) 1371470165 -5.6143257850597985 treat image : temp/1752109047_521427_1371470163_b73067d77d6c5d4bd612040d833a1677.jpg resize: (1080, 1632) 1371470163 -5.077963738739333 treat image : temp/1752109047_521427_1371470118_789d997d8390048ad7a36ba60efec4c5.jpg resize: (1080, 1632) 1371470118 -4.635000217540705 treat image : temp/1752109047_521427_1371470117_aa497fdf251454656763e7467c086b7c.jpg resize: (1080, 1632) 1371470117 -4.900012675061224 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.014324665069580078 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.014069318771362305 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019944190979003906 save missing photos in datou_result : time spend for datou_step_exec : 17.281880617141724 time spend to save output : 0.05345797538757324 total time spend for step 1 : 17.335338592529297 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 5.27system 0:22.57elapsed 88%CPU (0avgtext+0avgdata 139756maxresident)k 256inputs+8344outputs (1major+257197minor)pagefaults 0swaps