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 : 3954409 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 : 3096>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/3954409/ 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.8259222507476807 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 21:27: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/1747078047_3954409_1357646867_9109f11da2da2e142004479efa7140ba.jpg resize: (1080, 1632) 1357646867 -4.912442075054985 treat image : temp/1747078047_3954409_1357646863_7bfec61598c5e882d6c9bac47653fb24.jpg resize: (1080, 1632) 1357646863 -3.0446860898882933 treat image : temp/1747078047_3954409_1357646639_b93dc5ad57a65faded750b0f964c3f43.jpg resize: (1080, 1632) 1357646639 -6.044973197408445 treat image : temp/1747078047_3954409_1357646635_b6844500761df1d565ecb3a4b5a27112.jpg resize: (1080, 1632) 1357646635 -5.837560771416075 treat image : temp/1747078047_3954409_1357646631_6eac164a593622d55e04f8813c809a5d.jpg resize: (1080, 1632) 1357646631 -5.448051885712222 treat image : temp/1747078047_3954409_1357646629_82577bae8eb90f56de523c926a122ba4.jpg resize: (1080, 1632) 1357646629 -3.372413387828216 treat image : temp/1747078047_3954409_1357646383_19be49705aaeadd1be8d368ef4f213c8.jpg resize: (1080, 1632) 1357646383 -1.9951319512833323 treat image : temp/1747078047_3954409_1357646381_b9aa1cba4bed9b263a31b72749b39ad6.jpg resize: (1080, 1632) 1357646381 -1.9061168152025567 treat image : temp/1747078047_3954409_1357646376_7aec5cd9595b3808d8b5181aa3a615ce.jpg resize: (1080, 1632) 1357646376 -4.254097971240148 treat image : temp/1747078047_3954409_1357646372_2b4c922a221c7066ab0d4656e7dfbd0b.jpg resize: (1080, 1632) 1357646372 -5.314282802109159 treat image : temp/1747078047_3954409_1357646368_05074de8b5d69aa91ce8f779c540caa4.jpg resize: (1080, 1632) 1357646368 -3.985863920716262 treat image : temp/1747078047_3954409_1357646365_72fb79b463e2b3e51434d6ca4e345b14.jpg resize: (1080, 1632) 1357646365 -5.649002018168626 treat image : temp/1747078047_3954409_1357645890_05da56eb58fcefd5e9c4e27f339e5555.jpg resize: (1080, 1632) 1357645890 -5.451654919119593 treat image : temp/1747078047_3954409_1357645885_09fbf48e15de5ad3970804adf6f66431.jpg resize: (1080, 1632) 1357645885 -5.571343714613153 treat image : temp/1747078047_3954409_1357645882_15d7c1e4b4951dddaf897c86cf8bbb01.jpg resize: (1080, 1632) 1357645882 -5.996533994979658 treat image : temp/1747078047_3954409_1357645878_c17807e30f18636f92c25beca2c24db5.jpg resize: (1080, 1632) 1357645878 -4.178437767767613 treat image : temp/1747078047_3954409_1357645873_537453e3a2812dad3f45b17cc9b71d48.jpg resize: (1080, 1632) 1357645873 -5.163833491771409 treat image : temp/1747078047_3954409_1357645844_a460d0d876b3aa1937b01970efd3741c.jpg resize: (1080, 1632) 1357645844 -5.670641476905261 treat image : temp/1747078047_3954409_1357645839_1fc49ba9965a5f761ba5d52eeb1d7e1d.jpg resize: (1080, 1632) 1357645839 -0.8673837588919946 treat image : temp/1747078047_3954409_1357645834_547f2ee56e3539fa8a73231e7596c754.jpg resize: (1080, 1632) 1357645834 -1.6195978067917027 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.013602972030639648 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.014367818832397461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014847993850708008 save missing photos in datou_result : time spend for datou_step_exec : 17.529908895492554 time spend to save output : 0.04736757278442383 total time spend for step 1 : 17.577276468276978 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 5.52system 0:23.19elapsed 87%CPU (0avgtext+0avgdata 142392maxresident)k 3128inputs+9816outputs (16major+262134minor)pagefaults 0swaps