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 : 1184939 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1184939/ 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 : 3.362241506576538 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 Wed Apr 9 13:27: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/1744198046_1184939_1350667922_1a7e8a888960fffc19639b7991d4f10e.jpg resize: (1080, 1632) 1350667922 -3.6990556558825824 treat image : temp/1744198046_1184939_1350667921_4ac11b19738ebe63b9165f0148d089d8.jpg resize: (1080, 1632) 1350667921 -3.898936149548699 treat image : temp/1744198046_1184939_1350667919_c48127970f85c373e2e1fc936e7a2a6b.jpg resize: (1080, 1632) 1350667919 -5.405234857035996 treat image : temp/1744198046_1184939_1350667902_9067ae037c596a5cbc92c6e5adc417c1.jpg resize: (1080, 1632) 1350667902 -1.5992266519476408 treat image : temp/1744198046_1184939_1350667897_1ee4efd6bc99f187099d7bdcaf334ab6.jpg resize: (1080, 1632) 1350667897 -1.8608723248692067 treat image : temp/1744198046_1184939_1350667894_88b98771581b4e5d0b3ba96589e655b8.jpg resize: (1080, 1632) 1350667894 -5.615286402965661 treat image : temp/1744198046_1184939_1350667891_0b77729dc070f1d4099a690f2cbf0973.jpg resize: (1080, 1632) 1350667891 -4.191518055684276 treat image : temp/1744198046_1184939_1350667889_33ae83057577bdeaa8f29f77ef8b42c0.jpg resize: (1080, 1632) 1350667889 -5.783518433560251 treat image : temp/1744198046_1184939_1350667887_c0628c48359ad2f0c0bb57ddf35abd74.jpg resize: (1080, 1632) 1350667887 -6.3176977424454694 treat image : temp/1744198046_1184939_1350667866_5b849ba2e94be5d712f823389ed2a277.jpg resize: (1080, 1632) 1350667866 -5.073697077104608 treat image : temp/1744198046_1184939_1350667863_e3f586154fd51a20562cee8e3756ff36.jpg resize: (1080, 1632) 1350667863 -5.134681707395272 treat image : temp/1744198046_1184939_1350667861_98e14c0f2a902f3e19cc973f5e9244fd.jpg resize: (1080, 1632) 1350667861 -5.095598733674391 treat image : temp/1744198046_1184939_1350667858_a42b7902f021f674d2090399cd18fe48.jpg resize: (1080, 1632) 1350667858 -1.5552434971556603 treat image : temp/1744198046_1184939_1350667836_ee3c58a24276c9f453fd652f1e9ff4fd.jpg resize: (1080, 1632) 1350667836 -6.1775420362757165 treat image : temp/1744198046_1184939_1350667830_430fa458d4d09941ee2bfae1938aefe8.jpg resize: (1080, 1632) 1350667830 -5.235222049421398 treat image : temp/1744198046_1184939_1350667827_80980637b11881f23c38ff6594d9c57d.jpg resize: (1080, 1632) 1350667827 -4.086662132618056 treat image : temp/1744198046_1184939_1350667825_bc7a76a394f949343c1301758278aa4d.jpg resize: (1080, 1632) 1350667825 -4.7455261413799645 treat image : temp/1744198046_1184939_1350667823_f5b715bdcf85c8d8884fcbec4a74737c.jpg resize: (1080, 1632) 1350667823 -4.5018399060181595 treat image : temp/1744198046_1184939_1350667821_9efbcc410785a68aaf6f6f6c9d601741.jpg resize: (1080, 1632) 1350667821 -3.876024813203615 treat image : temp/1744198046_1184939_1350667800_c6a1ade229cb5c0c5b45bed2e857e8e4.jpg resize: (1080, 1632) 1350667800 -2.7258212851053223 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.013255834579467773 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.012999296188354492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015866518020629883 save missing photos in datou_result : time spend for datou_step_exec : 19.332990169525146 time spend to save output : 0.04732155799865723 total time spend for step 1 : 19.380311727523804 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 6.72system 0:24.65elapsed 87%CPU (0avgtext+0avgdata 140572maxresident)k 112inputs+9184outputs (3major+258841minor)pagefaults 0swaps