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 : 3614288 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 : 551>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/3614288/ 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.1696460247039795 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 Tue Feb 4 11:12: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/1738663948_3614288_1334522497_7462fce0d56589c19ae3a14964df2f1f.jpg resize: (1080, 1632) 1334522497 -6.122249791540421 treat image : temp/1738663948_3614288_1334522493_d83533a282a14ba63154332e2a7cbf19.jpg resize: (1080, 1632) 1334522493 -5.642496273638537 treat image : temp/1738663948_3614288_1334522490_99e36f5e6427d402bd17f3cc83209eff.jpg resize: (1080, 1632) 1334522490 -5.619599922191201 treat image : temp/1738663948_3614288_1334522487_32663da97632581d38fc5edb7680701d.jpg resize: (1080, 1632) 1334522487 -6.047439483494387 treat image : temp/1738663948_3614288_1334522484_6710442022c62567c6a53c62faef2705.jpg resize: (1080, 1632) 1334522484 -5.886439017137148 treat image : temp/1738663948_3614288_1334522455_f9a5149efddd19d202758152c9044374.jpg resize: (1080, 1632) 1334522455 -5.172237061574711 treat image : temp/1738663948_3614288_1334522451_a4eef4ac4ed383d9d6ff4a8f23c462b0.jpg resize: (1080, 1632) 1334522451 -6.013261378946112 treat image : temp/1738663948_3614288_1334522448_cf4c4c125a62866dec3d9466226a5af1.jpg resize: (1080, 1632) 1334522448 -5.810075112934744 treat image : temp/1738663948_3614288_1334522424_1878673b08be8015a8b9293c08bc60c0.jpg resize: (1080, 1632) 1334522424 -6.371088703956209 treat image : temp/1738663948_3614288_1334522365_0a34b91e1bbd08dd01233d40fdf97914.jpg resize: (1080, 1632) 1334522365 -2.4641587897816506 treat image : temp/1738663948_3614288_1334522362_e1166a98091a42e2e59b830f608c9621.jpg resize: (1080, 1632) 1334522362 -2.831035697724349 treat image : temp/1738663948_3614288_1334522360_1b23981193c1dc22d339efa320f28be7.jpg resize: (1080, 1632) 1334522360 -4.873630678779609 treat image : temp/1738663948_3614288_1334522332_1cf96fc0354e0c5aff0c5e673994ecb9.jpg resize: (1080, 1632) 1334522332 -5.021994396514593 treat image : temp/1738663948_3614288_1334522328_7d661ac97527ab8e5de4bb546e55f9fd.jpg resize: (1080, 1632) 1334522328 -5.612098861845687 treat image : temp/1738663948_3614288_1334522325_d178e1378d0eb54a775ac454a4fbbaa4.jpg resize: (1080, 1632) 1334522325 -3.8068177975374575 treat image : temp/1738663948_3614288_1334522320_baa0a695c105aa769df7259d279fbcbe.jpg resize: (1080, 1632) 1334522320 -5.76928732180901 treat image : temp/1738663948_3614288_1334522275_0efd0d77dea3871a01860ac367a6a2c0.jpg resize: (1080, 1632) 1334522275 -2.405309804289711 treat image : temp/1738663948_3614288_1334520643_6a99f5f9f339ff05939c9deafc08c6da.jpg resize: (1080, 1632) 1334520643 -5.28576468351657 treat image : temp/1738663948_3614288_1334520639_677da5f522aaf9b10451a86b9ef93076.jpg resize: (1080, 1632) 1334520639 -5.422416785953102 treat image : temp/1738663948_3614288_1334520637_91c8dc0d3d7a970800d30438f94d760b.jpg resize: (1080, 1632) 1334520637 -4.961221605590523 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.012559175491333008 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.012047052383422852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014995098114013672 save missing photos in datou_result : time spend for datou_step_exec : 13.612287282943726 time spend to save output : 0.04468250274658203 total time spend for step 1 : 13.656969785690308 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 1.53system 0:20.03elapsed 80%CPU (0avgtext+0avgdata 141760maxresident)k 48inputs+10000outputs (0major+119711minor)pagefaults 0swaps