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 : 3025383 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 : 1499>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/3025383/ 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.3170249462127686 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 08:37: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/1738741049_3025383_1334848254_4833db6b8bd724fdf77f72c5c7e88126.jpg resize: (1080, 1632) 1334848254 -6.240996455791349 treat image : temp/1738741049_3025383_1334848239_f84f0629b0de71a084b9fc5ae4e8055c.jpg resize: (1080, 1632) 1334848239 -2.745883289154045 treat image : temp/1738741049_3025383_1334848224_d5f626266d8295143ec26f0ce4fb90ed.jpg resize: (1080, 1632) 1334848224 -6.109472059924117 treat image : temp/1738741049_3025383_1334848215_4b00fbf7f7db54976a1791fcc9ef1add.jpg resize: (1080, 1632) 1334848215 -3.6140629913961777 treat image : temp/1738741049_3025383_1334848036_f57637820f1e1fcc145bdaaa1e8e488b.jpg resize: (1080, 1632) 1334848036 -4.91017813725603 treat image : temp/1738741049_3025383_1334848035_608576ee7c7e748d9e751144b9faecf1.jpg resize: (1080, 1632) 1334848035 -6.420964042927379 treat image : temp/1738741049_3025383_1334848032_5d7c94e05a716427bcfff6b9260ed920.jpg resize: (1080, 1632) 1334848032 -6.408046683644857 treat image : temp/1738741049_3025383_1334848031_8c7827139b00639f7ad353a3c9098e48.jpg resize: (1080, 1632) 1334848031 -6.820258618939042 treat image : temp/1738741049_3025383_1334848030_5f383b153bcd6d7aefb816dc77a3c15e.jpg resize: (1080, 1632) 1334848030 -6.087665285857273 treat image : temp/1738741049_3025383_1334848027_fd1d4a16aa5ef2cc518f5645cfaebd93.jpg resize: (1080, 1632) 1334848027 -5.264634701905104 treat image : temp/1738741049_3025383_1334848001_791c74e8719b44ffd60ba500cf2886a8.jpg resize: (1080, 1632) 1334848001 -2.3939494160840553 treat image : temp/1738741049_3025383_1334847987_a3939046a8ec99cd727e70b8d10e54a3.jpg resize: (1080, 1632) 1334847987 -3.7342641961763117 treat image : temp/1738741049_3025383_1334847962_acdc0e85152bbcd06c09361faee07e1c.jpg resize: (1080, 1632) 1334847962 -5.8632654393764625 treat image : temp/1738741049_3025383_1334847924_641b61d9e68389804f831005f40c56da.jpg resize: (1080, 1632) 1334847924 -5.767025336381585 treat image : temp/1738741049_3025383_1334847887_d5b754621834f090760291b5d7e5e1da.jpg resize: (1080, 1632) 1334847887 -6.4291259884577805 treat image : temp/1738741049_3025383_1334847719_7da1f8eb1e384489fd4494b00a3c14c1.jpg resize: (1080, 1632) 1334847719 -5.521643600632036 treat image : temp/1738741049_3025383_1334847666_5b81646ed51572aa87cf9d417b3472ac.jpg resize: (1080, 1632) 1334847666 -5.838092389426644 treat image : temp/1738741049_3025383_1334847665_dbdc11b2e7e9ea2ae7a0572e6d9e2e70.jpg resize: (1080, 1632) 1334847665 -4.6771336559392 treat image : temp/1738741049_3025383_1334847664_5f1694ad7b4d4ab581c252b59f6ebc78.jpg resize: (1080, 1632) 1334847664 -2.6583137412758564 treat image : temp/1738741049_3025383_1334847323_a8797da936acb303c67a27a21d9040ca.jpg resize: (1080, 1632) 1334847323 -5.49042310827475 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.01385641098022461 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.011913299560546875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.0098488330841064 save missing photos in datou_result : time spend for datou_step_exec : 13.670979738235474 time spend to save output : 1.0400888919830322 total time spend for step 1 : 14.711068630218506 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 1.52system 0:20.87elapsed 77%CPU (0avgtext+0avgdata 140388maxresident)k 64inputs+11288outputs (16major+129828minor)pagefaults 0swaps