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 : 2821489 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 : 217>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/2821489/ 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 : 2.1567585468292236 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 00:47: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/1753397247_2821489_1373638668_efd86cc5557f15d14f1993e1b747d257.jpg resize: (1080, 1632) 1373638668 -2.41988743165194 treat image : temp/1753397247_2821489_1373638666_ee19fcb02e392e8af22a57bb2432328d.jpg resize: (1080, 1632) 1373638666 -3.56369152883494 treat image : temp/1753397247_2821489_1373638663_a01a66ae96bcbbcd391d4d1173258b42.jpg resize: (1080, 1632) 1373638663 -3.285682412316929 treat image : temp/1753397247_2821489_1373638661_e7d87c5da800f58e1f3e9630f2dbd5e8.jpg resize: (1080, 1632) 1373638661 -3.4964888488197685 treat image : temp/1753397247_2821489_1373638659_a937fb92e93d9a29dc261b7ccbc9d2f2.jpg resize: (1080, 1632) 1373638659 -4.926399667396391 treat image : temp/1753397247_2821489_1373638656_469f7b50aba272ff41d9593ea7a1369d.jpg resize: (1080, 1632) 1373638656 -4.816786507786477 treat image : temp/1753397247_2821489_1373638639_c86bda33b40d99c3cc1dbba135065336.jpg resize: (1080, 1632) 1373638639 -4.6183774591508024 treat image : temp/1753397247_2821489_1373638637_1694a544774116d2e6ed4a10eb8e6095.jpg resize: (1080, 1632) 1373638637 -4.168670902870584 treat image : temp/1753397247_2821489_1373638635_442d61ded7c0807585b01e9ebc79ffb6.jpg resize: (1080, 1632) 1373638635 -4.967906136225774 treat image : temp/1753397247_2821489_1373638633_2b402bd2b83172c3b4f7086a678bc39c.jpg resize: (1080, 1632) 1373638633 -1.6878729109834987 treat image : temp/1753397247_2821489_1373638630_9517514af00bda604746205bf4806cda.jpg resize: (1080, 1632) 1373638630 -3.262183349790144 treat image : temp/1753397247_2821489_1373638628_caec75235ef9c2c9baea8c242285b869.jpg resize: (1080, 1632) 1373638628 -1.9856335720780751 treat image : temp/1753397247_2821489_1373638610_e553df6fc6868120327c031834cd8710.jpg resize: (1080, 1632) 1373638610 -3.4363662735429994 treat image : temp/1753397247_2821489_1373638606_c8fd42503c5c9bcc28810b4cf72d8145.jpg resize: (1080, 1632) 1373638606 -3.9759462765117966 treat image : temp/1753397247_2821489_1373638604_9198e3831f4606150da403be299b0251.jpg resize: (1080, 1632) 1373638604 -4.014801420374405 treat image : temp/1753397247_2821489_1373638601_23bf079df6b55526ae0b7d8a58682747.jpg resize: (1080, 1632) 1373638601 -4.011874276572713 treat image : temp/1753397247_2821489_1373638599_47ef26e1b455870618f9a4c9283383c9.jpg resize: (1080, 1632) 1373638599 -3.930155694490068 treat image : temp/1753397247_2821489_1373638597_f1c46ce2521f0fbb1d6ec153501edd6a.jpg resize: (1080, 1632) 1373638597 -3.9694828660275467 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.013476371765136719 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.013975381851196289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.017950773239135742 save missing photos in datou_result : time spend for datou_step_exec : 14.708372116088867 time spend to save output : 0.050119876861572266 total time spend for step 1 : 14.75849199295044 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.68user 4.47system 0:19.10elapsed 89%CPU (0avgtext+0avgdata 138720maxresident)k 360inputs+7136outputs (0major+239268minor)pagefaults 0swaps