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 : 1822323 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 : 4588>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1822323/ 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.29243540763855 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 Fri Jul 4 17:52:28 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/1751644346_1822323_1370659922_a9feea5a6d6c8415befec451f933ddfd.jpg resize: (1080, 1632) 1370659922 -3.7257420165740442 treat image : temp/1751644346_1822323_1370659919_480ace2b387e16d93a1a4d0eb4fe0e53.jpg resize: (1080, 1632) 1370659919 -3.7519453653519266 treat image : temp/1751644346_1822323_1370659915_dad4f7cfa7f1960d4f98104273dfa368.jpg resize: (1080, 1632) 1370659915 -3.7335094118306453 treat image : temp/1751644346_1822323_1370659912_38d589ed76c41222209849cf6ce8e37a.jpg resize: (1080, 1632) 1370659912 -3.698756899738647 treat image : temp/1751644346_1822323_1370659910_ab42927ba99061a1d9c49ea1206406bc.jpg resize: (1080, 1632) 1370659910 -3.693421255988641 treat image : temp/1751644346_1822323_1370659908_b329aa3c2908798e2aced95b3ee638a0.jpg resize: (1080, 1632) 1370659908 -3.723019755308867 treat image : temp/1751644346_1822323_1370659890_7216c78eeac335a86eda9080b5e5da4c.jpg resize: (1080, 1632) 1370659890 -5.196281372412139 treat image : temp/1751644346_1822323_1370659885_5400425e86f7dac162257d921071be34.jpg resize: (1080, 1632) 1370659885 -4.243473673932886 treat image : temp/1751644346_1822323_1370659879_2b48e34d56bb62f574bc05d6505bd9a0.jpg resize: (1080, 1632) 1370659879 -5.036490055474875 treat image : temp/1751644346_1822323_1370659878_2f0b94f5e9464a2cfdf7db6543dd5084.jpg resize: (1080, 1632) 1370659878 -5.033811892902357 treat image : temp/1751644346_1822323_1370659876_9f83f004b46680a7458281d0be315be1.jpg resize: (1080, 1632) 1370659876 -5.043039253854567 treat image : temp/1751644346_1822323_1370659873_891544d83c02357810304f0876cd4af2.jpg resize: (1080, 1632) 1370659873 -5.396697706091396 treat image : temp/1751644346_1822323_1370659756_4e39de750d5ffa0023785babd8852027.jpg resize: (1080, 1632) 1370659756 -3.760625176646459 treat image : temp/1751644346_1822323_1370659755_8454cc8bae7b761d37f8ef8a45b3cb1b.jpg resize: (1080, 1632) 1370659755 -3.760625176646459 treat image : temp/1751644346_1822323_1370659751_8b320ea7909bb7b301438d8c8bc1aada.jpg resize: (1080, 1632) 1370659751 -3.7742972291361485 treat image : temp/1751644346_1822323_1370659750_603dc87a1928790b9210530b4d7cdcc5.jpg resize: (1080, 1632) 1370659750 -3.7742972291361485 treat image : temp/1751644346_1822323_1370659736_88503072f36886457267ddb80c0cf858.jpg resize: (1080, 1632) 1370659736 -1.3781379973679608 treat image : temp/1751644346_1822323_1370659733_3f08948e380f697d1cec7848820dfbdd.jpg resize: (1080, 1632) 1370659733 -2.9706062178426955 treat image : temp/1751644346_1822323_1370659726_ad10d60b742e712c847f6e6d6d8e17c2.jpg resize: (1080, 1632) 1370659726 -2.898106765926189 treat image : temp/1751644346_1822323_1370659723_0f547dcc842e226180722891f47a0393.jpg resize: (1080, 1632) 1370659723 -2.974483869528914 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.017728090286254883 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.014193534851074219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016594409942626953 save missing photos in datou_result : time spend for datou_step_exec : 15.10115361213684 time spend to save output : 0.05344414710998535 total time spend for step 1 : 15.154597759246826 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.61user 3.51system 0:18.93elapsed 90%CPU (0avgtext+0avgdata 137416maxresident)k 128inputs+8304outputs (4major+247415minor)pagefaults 0swaps