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 : 1751268 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 : 2747>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/1751268/ 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.29535174369812 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 Feb 5 02:42:29 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/1738719747_1751268_1334737895_8cf33564e8dd1020771d25d2c60b130c.jpg resize: (1080, 1632) 1334737895 -5.05522122481583 treat image : temp/1738719747_1751268_1334737826_e7565890e123ea3e77b3081c3683f814.jpg resize: (1080, 1632) 1334737826 -5.43990755622666 treat image : temp/1738719747_1751268_1334737795_2075e47fdd91888d3d58ba9237aef0d6.jpg resize: (1080, 1632) 1334737795 -5.38624021060223 treat image : temp/1738719747_1751268_1334737775_a613ed8b96a1c8c3c399113a66ac9d5c.jpg resize: (1080, 1632) 1334737775 -5.9083447954754265 treat image : temp/1738719747_1751268_1334737593_656bc57fcfad04b938f702c74195718f.jpg resize: (1080, 1632) 1334737593 -5.8969352217966735 treat image : temp/1738719747_1751268_1334737591_5bc15bb9299568a3766f8d6432200ccb.jpg resize: (1080, 1632) 1334737591 -3.458030760077992 treat image : temp/1738719747_1751268_1334737589_fda8d7ca85139cdd6126db50e378072b.jpg resize: (1080, 1632) 1334737589 -2.5782577585886193 treat image : temp/1738719747_1751268_1334737587_f22dadf64a6488bed0732c5179b70633.jpg resize: (1080, 1632) 1334737587 -4.236191866388761 treat image : temp/1738719747_1751268_1334737584_237e28950737e1a342f922faa17a5998.jpg resize: (1080, 1632) 1334737584 -5.5649695744667955 treat image : temp/1738719747_1751268_1334737580_57b73d398cc0f8be2ad6a8598934530c.jpg resize: (1080, 1632) 1334737580 -5.994255478429049 treat image : temp/1738719747_1751268_1334737369_7e393502a03bb985a43bfc7b820f5c0c.jpg resize: (1080, 1632) 1334737369 -4.253803225373042 treat image : temp/1738719747_1751268_1334737368_720e2f0cbec767513c4f916cb1721022.jpg resize: (1080, 1632) 1334737368 -5.926246617534494 treat image : temp/1738719747_1751268_1334737367_826c206ecc85a31c6502cc23f80d5250.jpg resize: (1080, 1632) 1334737367 -5.700449503875531 treat image : temp/1738719747_1751268_1334737365_6ef53efbac17a1ef89551a00b1f4b5c2.jpg resize: (1080, 1632) 1334737365 -6.482137316755189 treat image : temp/1738719747_1751268_1334737364_e7987e30c86d780527b36b131c74337d.jpg resize: (1080, 1632) 1334737364 -6.370412271111856 treat image : temp/1738719747_1751268_1334737362_8e083733b3abea0fd1085cc457cbfd0b.jpg resize: (1080, 1632) 1334737362 -6.395709466115269 treat image : temp/1738719747_1751268_1334737317_c8cebb1393df47e6640f3f90daff1ee8.jpg resize: (1080, 1632) 1334737317 -6.017957117626126 treat image : temp/1738719747_1751268_1334737314_b57c0622cbd5db1f259e26438f7242fa.jpg resize: (1080, 1632) 1334737314 -4.289043583618415 treat image : temp/1738719747_1751268_1334737274_fd9257b6f3689609ec817dcd9b68f6d5.jpg resize: (1080, 1632) 1334737274 -5.008100634970565 treat image : temp/1738719747_1751268_1334737203_b95dc8fc8e35ec952b728e3389b5cbcb.jpg resize: (1080, 1632) 1334737203 -1.1910037147270747 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.01487278938293457 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.01381683349609375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015899181365966797 save missing photos in datou_result : time spend for datou_step_exec : 12.8961181640625 time spend to save output : 0.050762176513671875 total time spend for step 1 : 12.946880340576172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.80user 1.78system 0:17.88elapsed 87%CPU (0avgtext+0avgdata 138616maxresident)k 0inputs+10816outputs (0major+119281minor)pagefaults 0swaps