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 : 2977173 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 : 1220>100 please execute split_portfolio.py -i 21894590 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2707489'] with mtr_portfolio_ids : ['21894590'] and first list_photo_ids : [] new path : /proc/2977173/ 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.745946168899536 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 Mar 31 11:32: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/1743413547_2977173_1348981402_d335aca3275281e97918801990fe296e.jpg resize: (1080, 1632) 1348981402 -2.171675070749375 treat image : temp/1743413547_2977173_1348981400_eabd35afc4609dcf452a75955ba42fba.jpg resize: (1080, 1632) 1348981400 -2.2884352391572556 treat image : temp/1743413547_2977173_1348981399_0f9c847c1632147a797b6722c60bf35c.jpg resize: (1080, 1632) 1348981399 -2.837187382893741 treat image : temp/1743413547_2977173_1348981339_297c89c05310af1540856c516f0747be.jpg resize: (1080, 1632) 1348981339 -1.8622195925699034 treat image : temp/1743413547_2977173_1348981295_8e31cbd3289588a88883bac363da5397.jpg resize: (1080, 1632) 1348981295 -6.1461690715618085 treat image : temp/1743413547_2977173_1348981294_4fe352e4802e888bab1a422226903f48.jpg resize: (1080, 1632) 1348981294 -5.520959132246922 treat image : temp/1743413547_2977173_1348963464_ada67165727a27025adefd46023453c8.jpg resize: (1080, 1632) 1348963464 -1.8396591543002527 treat image : temp/1743413547_2977173_1348963459_86911168e959a4647b0e82e728d54bdd.jpg resize: (1080, 1632) 1348963459 -2.3536246540472936 treat image : temp/1743413547_2977173_1348963456_42e0661db9f535e391f454e0b772c476.jpg resize: (1080, 1632) 1348963456 -4.522962167180553 treat image : temp/1743413547_2977173_1348963452_b063976123463864c3ad47b14990794b.jpg resize: (1080, 1632) 1348963452 -4.60432673175204 treat image : temp/1743413547_2977173_1348963447_ebc6728d0056e0ebf67f6d81e0a6c277.jpg resize: (1080, 1632) 1348963447 -4.610795508195055 treat image : temp/1743413547_2977173_1348963424_21be96d296082f65324b7655a97cfc44.jpg resize: (1080, 1632) 1348963424 -5.21884185682612 treat image : temp/1743413547_2977173_1348963419_aa17480a5e35a3c07d343f864398b1d2.jpg resize: (1080, 1632) 1348963419 -4.893596584294282 treat image : temp/1743413547_2977173_1348963404_63e904a4126d886e3627a169645833c7.jpg resize: (1080, 1632) 1348963404 -4.855051196593055 treat image : temp/1743413547_2977173_1348963401_10a801d2f809b827bf7b7b7cc75449cb.jpg resize: (1080, 1632) 1348963401 -5.1298723171347165 treat image : temp/1743413547_2977173_1348963398_1c68ddd9d5ed549ec916925222c522d9.jpg resize: (1080, 1632) 1348963398 -4.634577729995069 treat image : temp/1743413547_2977173_1348963355_01362eee005c6acf266349040445ad17.jpg resize: (1080, 1632) 1348963355 -5.45174236643244 treat image : temp/1743413547_2977173_1348963351_9c87749d12c2eaa172bcb70ba94acd05.jpg resize: (1080, 1632) 1348963351 -5.511281504933424 treat image : temp/1743413547_2977173_1348963346_30d7031a92baf818e4c6577a53a41c3b.jpg resize: (1080, 1632) 1348963346 -5.1795998781576404 treat image : temp/1743413547_2977173_1348963343_bbfcb4f99bf682bdd6c0e25fc854b785.jpg resize: (1080, 1632) 1348963343 -5.150116724546015 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.012950420379638672 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.01352238655090332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014898061752319336 save missing photos in datou_result : time spend for datou_step_exec : 15.919045209884644 time spend to save output : 0.04636549949645996 total time spend for step 1 : 15.965410709381104 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 3.82system 0:22.40elapsed 82%CPU (0avgtext+0avgdata 139184maxresident)k 160inputs+8728outputs (1major+269542minor)pagefaults 0swaps