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 : 4173578 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 : 2584>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/4173578/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.565753698348999 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 Fri Apr 4 11:17: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/1743758248_4173578_1350040640_0fae4bd1a0f3f4b710a00d1c76b7a34f.jpg resize: (1080, 1632) 1350040640 -6.62651454381472 treat image : temp/1743758248_4173578_1350040591_481a22d38658106d7a65a8e6386c1ca3.jpg resize: (1080, 1632) 1350040591 -6.590239041493524 treat image : temp/1743758248_4173578_1350040505_4b3c443ec2b2f3f686e06ce18bc23be6.jpg resize: (1080, 1632) 1350040505 -6.013735422700349 treat image : temp/1743758248_4173578_1350040467_171677cada4c8b09a5a500e5263e9392.jpg resize: (1080, 1632) 1350040467 -5.889155441817217 treat image : temp/1743758248_4173578_1350040440_11f2042cc74b49d2cb5fb5c8993bdcec.jpg resize: (1080, 1632) 1350040440 -5.926567496125315 treat image : temp/1743758248_4173578_1350040354_8f1b940a7687f9c38274b2d8b256dc5a.jpg resize: (1080, 1632) 1350040354 -1.9191866995435243 treat image : temp/1743758248_4173578_1350040302_abf1347666c7d872a5eb57cfdca73144.jpg resize: (1080, 1632) 1350040302 -2.714410944623046 treat image : temp/1743758248_4173578_1350040293_f92fb91cd661534914ccdcae7eebe3c8.jpg resize: (1080, 1632) 1350040293 -5.080629079791335 treat image : temp/1743758248_4173578_1350040244_e21b15f84334a7c3585c15cb4b1d10f4.jpg resize: (1080, 1632) 1350040244 -5.793762048622693 treat image : temp/1743758248_4173578_1350039924_0988e7512945c2dc40b214bb235662ea.jpg resize: (1080, 1632) 1350039924 -3.841984688407327 treat image : temp/1743758248_4173578_1350039814_baaa04c4edfcc5dce10900d91ec2ad2d.jpg resize: (1080, 1632) 1350039814 -3.6971825068887934 treat image : temp/1743758248_4173578_1350039793_9a96be11acaeb72cc18589fcecb07015.jpg resize: (1080, 1632) 1350039793 -4.711121399337281 treat image : temp/1743758248_4173578_1350039641_f93e23e0337dfdc9ac75fd5352756094.jpg resize: (1080, 1632) 1350039641 -3.927588797236426 treat image : temp/1743758248_4173578_1350039541_15540122647073345b3add9f497c5763.jpg resize: (1080, 1632) 1350039541 -3.745308708807613 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 : 14 time used for this insertion : 0.31180834770202637 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 2.8401219844818115 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.015099287033081055 save missing photos in datou_result : time spend for datou_step_exec : 10.875058889389038 time spend to save output : 3.1720619201660156 total time spend for step 1 : 14.047120809555054 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 10.63user 2.35system 0:18.96elapsed 68%CPU (0avgtext+0avgdata 138292maxresident)k 3832inputs+7408outputs (28major+181720minor)pagefaults 0swaps