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 : 3865874 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 : 2910>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3865874/ 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.2990643978118896 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 May 13 18:47:31 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/1747154849_3865874_1357881807_d90685f6e67e61980467ae4466a5c7be.jpg resize: (1080, 1632) 1357881807 -1.2359361700288904 treat image : temp/1747154849_3865874_1357881746_33b2b3d6c905aff1bfd8a1bfdb411e9e.jpg resize: (1080, 1632) 1357881746 -1.7650969839121737 treat image : temp/1747154849_3865874_1357881712_777f5c094ae52771f47eacf22d1426a3.jpg resize: (1080, 1632) 1357881712 -4.563513001690814 treat image : temp/1747154849_3865874_1357881632_025dbf5eeb4dac740d10c612c9a8a074.jpg resize: (1080, 1632) 1357881632 -2.9938689616345058 treat image : temp/1747154849_3865874_1357881572_cdea5b16586d85cf74319f0eba94935e.jpg resize: (1080, 1632) 1357881572 -5.51347859378576 treat image : temp/1747154849_3865874_1357881517_ce75316f7dbe842dead312780e95f063.jpg resize: (1080, 1632) 1357881517 -5.210826988803925 treat image : temp/1747154849_3865874_1357881463_4d24b8916acc17078389c5e5d1efdcac.jpg resize: (1080, 1632) 1357881463 -4.777098572286381 treat image : temp/1747154849_3865874_1357881032_74d5e739b62a0ece46e1567bc25b4aee.jpg resize: (1080, 1632) 1357881032 -5.847769630146601 treat image : temp/1747154849_3865874_1357881000_8a2aa85fce91f89572c88d3d27faede5.jpg resize: (1080, 1632) 1357881000 -5.021640463815624 treat image : temp/1747154849_3865874_1357880956_be674efc94ee3793f6af1d9718bb0687.jpg resize: (1080, 1632) 1357880956 -5.439135890251737 treat image : temp/1747154849_3865874_1357880920_abf72ceb7797859f93d837b84dfba4cf.jpg resize: (1080, 1632) 1357880920 -5.089396201106175 treat image : temp/1747154849_3865874_1357880658_49cfd2b02c33ff90bb00be9d4b05de6f.jpg resize: (1080, 1632) 1357880658 -5.895467560689557 treat image : temp/1747154849_3865874_1357880614_dcda5aacefc64349f19fb0086c1378a2.jpg resize: (1080, 1632) 1357880614 -4.346141551438031 treat image : temp/1747154849_3865874_1357880548_21702e82585c3c7d20b56449b9c082ec.jpg resize: (1080, 1632) 1357880548 -5.959548633278792 treat image : temp/1747154849_3865874_1357880468_7a4836a09b3f73402f8e098888e09e7b.jpg resize: (1080, 1632) 1357880468 -4.688660649796414 treat image : temp/1747154849_3865874_1357880391_db77602a92bfc0b13b43a760a607db9e.jpg resize: (1080, 1632) 1357880391 -6.302827814779038 treat image : temp/1747154849_3865874_1357880059_56c69c54e71ed5600f04ed252768a433.jpg resize: (1080, 1632) 1357880059 -6.249195329303006 treat image : temp/1747154849_3865874_1357879766_9a30cc2581921bf21a83853c8708f8f3.jpg resize: (1080, 1632) 1357879766 -1.9768088851520023 treat image : temp/1747154849_3865874_1357879711_71e270dd8d504557bf36daa29d3be4d4.jpg resize: (1080, 1632) 1357879711 -4.792831327241204 treat image : temp/1747154849_3865874_1357879655_f5f52100e19a78cc567dcb4f23cdb375.jpg resize: (1080, 1632) 1357879655 -4.055852857635747 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.01766228675842285 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.017263412475585938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01763749122619629 save missing photos in datou_result : time spend for datou_step_exec : 17.399062633514404 time spend to save output : 0.29648303985595703 total time spend for step 1 : 17.69554567337036 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 4.76system 0:24.17elapsed 81%CPU (0avgtext+0avgdata 139256maxresident)k 8920inputs+9664outputs (24major+260827minor)pagefaults 0swaps