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 : 1830324 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 : 1258>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/1830324/ 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.2564330101013184 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 10:52:30 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/1747039947_1830324_1357616437_9c19b2389ccbad4b4284cf3c527bf3ed.jpg resize: (1080, 1632) 1357616437 -1.5978813110516736 treat image : temp/1747039947_1830324_1357616432_afec640ced0ceedcf0938b6489aa5e94.jpg resize: (1080, 1632) 1357616432 -5.095111224174291 treat image : temp/1747039947_1830324_1357616426_1b29f87a9eff7705b4de171ecf555bbf.jpg resize: (1080, 1632) 1357616426 -5.270737749246437 treat image : temp/1747039947_1830324_1357616379_97c8a6edd0408e7486bb6b5e2c56965f.jpg resize: (1080, 1632) 1357616379 -5.249437480405081 treat image : temp/1747039947_1830324_1357616375_524714ddd124037a13e4543fad637b06.jpg resize: (1080, 1632) 1357616375 -5.323037297649829 treat image : temp/1747039947_1830324_1357616372_8a51986658240b3838328396403eb41b.jpg resize: (1080, 1632) 1357616372 -4.842308702728248 treat image : temp/1747039947_1830324_1357616369_71b9c7cd36bcd9787b37878e84f4c049.jpg resize: (1080, 1632) 1357616369 -4.892987448167862 treat image : temp/1747039947_1830324_1357616366_5b635c070ab1aa3b2635098140da674b.jpg resize: (1080, 1632) 1357616366 -4.8222221636116265 treat image : temp/1747039947_1830324_1357616361_50d76617b9317949c83f7c930d640e7d.jpg resize: (1080, 1632) 1357616361 -1.7723408670664125 treat image : temp/1747039947_1830324_1357616294_ff8b0744b09ece3a769a6509b13ac7a2.jpg resize: (1080, 1632) 1357616294 -6.083961991255576 treat image : temp/1747039947_1830324_1357616289_86342dd4b1bafe9b3d4a6956be586f4b.jpg resize: (1080, 1632) 1357616289 -6.206767246481569 treat image : temp/1747039947_1830324_1357616287_964a6e7ef7a7cd49322fa815930f7445.jpg resize: (1080, 1632) 1357616287 -6.504015982932979 treat image : temp/1747039947_1830324_1357616285_bb47d5e156006dbd408a2f5ec167b9c5.jpg resize: (1080, 1632) 1357616285 -4.189616072279953 treat image : temp/1747039947_1830324_1357616283_c3a713b4ee4cec2b673fdd1787c68db9.jpg resize: (1080, 1632) 1357616283 -6.2162787645181155 treat image : temp/1747039947_1830324_1357616278_d5af03ef592735b55f01e1c3e3fc2b7b.jpg resize: (1080, 1632) 1357616278 -6.017341621760279 treat image : temp/1747039947_1830324_1357616244_0e7cc869b41c60609f15664ee09e1c85.jpg resize: (1080, 1632) 1357616244 -5.744933112755711 treat image : temp/1747039947_1830324_1357616240_926fe472018aaffd1a76c3ce6168c5a5.jpg resize: (1080, 1632) 1357616240 -1.9100240237385655 treat image : temp/1747039947_1830324_1357616237_ed81da3619fba294bc0497a3612594e4.jpg resize: (1080, 1632) 1357616237 -1.8292871058495774 treat image : temp/1747039947_1830324_1357616231_fec490d201ef20b6b949e9ed29915613.jpg resize: (1080, 1632) 1357616231 -1.7467072889357609 treat image : temp/1747039947_1830324_1357616208_9c5bf3e6b8de90f2ad440e390e6afe81.jpg resize: (1080, 1632) 1357616208 -4.056050354599141 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.013924121856689453 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.012877464294433594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01494598388671875 save missing photos in datou_result : time spend for datou_step_exec : 16.236417531967163 time spend to save output : 0.04869866371154785 total time spend for step 1 : 16.28511619567871 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 4.11system 0:21.75elapsed 87%CPU (0avgtext+0avgdata 141660maxresident)k 184inputs+9776outputs (4major+255372minor)pagefaults 0swaps