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 : 3566168 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 : 1624>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3566168/ 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 4 , 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.1955034732818604 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 Thu Mar 13 16:32:32 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/1741879949_3566168_1343733850_c8d594ae8bf2706e8f58e9263d479445.jpg resize: (1080, 1632) 1343733850 -5.794345612934272 treat image : temp/1741879949_3566168_1343733846_05143771f2ce0cf3e221e86c05b5a521.jpg resize: (1080, 1632) 1343733846 -5.694213570237252 treat image : temp/1741879949_3566168_1343733813_86d11c5adbce5bf3fde364b0bda9c1d9.jpg resize: (1080, 1632) 1343733813 -1.2668071699163912 treat image : temp/1741879949_3566168_1343733809_d4ff2f33caa1c26eb655e17f7be8e125.jpg resize: (1080, 1632) 1343733809 -3.5581113796298585 treat image : temp/1741879949_3566168_1343733805_065b76eefd58f971d3ceb418c5ca8290.jpg resize: (1080, 1632) 1343733805 -3.7466683096028044 treat image : temp/1741879949_3566168_1343733799_dba6c4a7b673b9ec28711910614e9afd.jpg resize: (1080, 1632) 1343733799 -5.282675741779991 treat image : temp/1741879949_3566168_1343733794_8b6ec66a7ad2d719accff3719411728a.jpg resize: (1080, 1632) 1343733794 -6.09209881045443 treat image : temp/1741879949_3566168_1343733762_976910eb13f604b993508f261e01bccb.jpg resize: (1080, 1632) 1343733762 -6.212906905967769 treat image : temp/1741879949_3566168_1343733758_b73bc78e1780729bcccd537092e0344f.jpg resize: (1080, 1632) 1343733758 -5.6405610417166665 treat image : temp/1741879949_3566168_1343733752_1a6dfb068044fb4503cb1568340cc91b.jpg resize: (1080, 1632) 1343733752 -5.716525314678543 treat image : temp/1741879949_3566168_1343733746_d80c69cd8b318e399984edb87438caf6.jpg resize: (1080, 1632) 1343733746 -4.954619488467791 treat image : temp/1741879949_3566168_1343733740_70e3f4698add82c088725d6952db0c07.jpg resize: (1080, 1632) 1343733740 -4.806172531295249 treat image : temp/1741879949_3566168_1343733709_98eb9533f792db33edcb6523af45fa8b.jpg resize: (1080, 1632) 1343733709 -3.165117298338581 treat image : temp/1741879949_3566168_1343733706_a3f73af09108dd2bf94a21baff1a96ff.jpg resize: (1080, 1632) 1343733706 -5.815784517098352 treat image : temp/1741879949_3566168_1343733703_a57fda469b584282459d4a2d0b314188.jpg resize: (1080, 1632) 1343733703 -6.221371244664943 treat image : temp/1741879949_3566168_1343733698_7cb41a519dac217f932bf56a5941f71b.jpg resize: (1080, 1632) 1343733698 -3.7179757250371166 treat image : temp/1741879949_3566168_1343733688_124f134efe6c2ce174c23ffc7e9d98f8.jpg resize: (1080, 1632) 1343733688 -5.304767408130863 treat image : temp/1741879949_3566168_1343733657_432a6289097f51e6bcce3c37ec0b8d21.jpg resize: (1080, 1632) 1343733657 -5.95807042049298 treat image : temp/1741879949_3566168_1343733653_89cead8aaea5921e87cb0c1bf7aa0245.jpg resize: (1080, 1632) 1343733653 -2.7990399757293347 treat image : temp/1741879949_3566168_1343733648_f15cf39cba4e2b0bf89a98689135d7bd.jpg resize: (1080, 1632) 1343733648 -2.3014178568815313 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.17549681663513184 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.012958288192749023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.4529256820678711 save missing photos in datou_result : time spend for datou_step_exec : 17.311180114746094 time spend to save output : 0.6460115909576416 total time spend for step 1 : 17.957191705703735 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.58user 6.13system 0:25.05elapsed 78%CPU (0avgtext+0avgdata 140988maxresident)k 2704inputs+10200outputs (18major+259615minor)pagefaults 0swaps