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 : 114553 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 : 3722>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/114553/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9144799709320068 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 Jul 25 12:17: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/1753438649_114553_1373736091_16f3d5746decbb8d8b09f9ed11b9b4bf.jpg resize: (1080, 1632) 1373736091 -2.5117054643821732 treat image : temp/1753438649_114553_1373736089_fc55bb40589e65b8f759091cc365d681.jpg resize: (1080, 1632) 1373736089 -2.4444102658025586 treat image : temp/1753438649_114553_1373736087_9f1befa4a6475c58228f79b8f713710a.jpg resize: (1080, 1632) 1373736087 -2.42530171593734 treat image : temp/1753438649_114553_1373736086_c43457ad3c7945ce4462a19714b6e4e3.jpg resize: (1080, 1632) 1373736086 -3.33895483604199 treat image : temp/1753438649_114553_1373736084_fd9639ee7cfed9c4f6b5ad75883d1d9c.jpg resize: (1080, 1632) 1373736084 -3.198584093576715 treat image : temp/1753438649_114553_1373736082_5bebe9a2ed23610db410867d9405863d.jpg resize: (1080, 1632) 1373736082 -4.28885473579159 treat image : temp/1753438649_114553_1373736063_6a881524724a07213cbeb7fe27a2ba53.jpg resize: (1080, 1632) 1373736063 -2.636146933586627 treat image : temp/1753438649_114553_1373736060_507ca13736b054dd611f0be1db16760b.jpg resize: (1080, 1632) 1373736060 -1.1827328853916252 treat image : temp/1753438649_114553_1373736058_cb6151dc94dacc6161b943a7b126a5df.jpg resize: (1080, 1632) 1373736058 -2.364870312336689 treat image : temp/1753438649_114553_1373736056_a6f03c56dbdd32e12250f287c3fce35c.jpg resize: (1080, 1632) 1373736056 -2.4728408175812837 treat image : temp/1753438649_114553_1373736054_daf091e021bff1a5fd3a4b5e49eae65a.jpg resize: (1080, 1632) 1373736054 -2.4692187240321712 treat image : temp/1753438649_114553_1373736052_2e571134813ad897b2ab598e81dea355.jpg resize: (1080, 1632) 1373736052 -2.3909153248153743 treat image : temp/1753438649_114553_1373736027_6f534526573b313d6a56983277208e8e.jpg resize: (1080, 1632) 1373736027 -2.7629416434362333 treat image : temp/1753438649_114553_1373736024_67da73c408f79ce52d91bbdde27aa051.jpg resize: (1080, 1632) 1373736024 -5.933188550071443 treat image : temp/1753438649_114553_1373736022_fa8013a4a7cbbad552d975783055a38d.jpg resize: (1080, 1632) 1373736022 -5.296146032270071 treat image : temp/1753438649_114553_1373736019_5505f827871ab7487e597a98254e7db8.jpg resize: (1080, 1632) 1373736019 -5.041483422822339 treat image : temp/1753438649_114553_1373736017_40b5744af4d6d45fb075f2b6776e990e.jpg resize: (1080, 1632) 1373736017 -5.321802374396921 treat image : temp/1753438649_114553_1373736012_dd3a93d2d074e566cd329657b5edc3d3.jpg resize: (1080, 1632) 1373736012 -5.284740778432947 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 : 18 time used for this insertion : 0.014874458312988281 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012816429138183594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015050888061523438 save missing photos in datou_result : time spend for datou_step_exec : 13.71532154083252 time spend to save output : 0.04736614227294922 total time spend for step 1 : 13.762687683105469 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.44user 3.57system 0:19.29elapsed 83%CPU (0avgtext+0avgdata 137624maxresident)k 112inputs+7440outputs (1major+163288minor)pagefaults 0swaps