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 : 1024085 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 : 2069>100 please execute split_portfolio.py -i 22151579 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2733389'] with mtr_portfolio_ids : ['22151579'] and first list_photo_ids : [] new path : /proc/1024085/ 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 : 3.0231592655181885 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 Apr 9 12:37:29 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/1744195046_1024085_1350673797_03a1aff9987e21ebd25749cbca2699a3.jpg resize: (1080, 1632) 1350673797 -5.393496496297845 treat image : temp/1744195046_1024085_1350673787_8b3008938660703d8facb75b9b4a0779.jpg resize: (1080, 1632) 1350673787 -5.110483545148635 treat image : temp/1744195046_1024085_1350673784_427706c07a106edb1da83bc54c3d71d7.jpg resize: (1080, 1632) 1350673784 -4.742398748807048 treat image : temp/1744195046_1024085_1350673781_f5dd0fc60a4c0483e94671694914ac1f.jpg resize: (1080, 1632) 1350673781 -5.779830250188946 treat image : temp/1744195046_1024085_1350673779_e20609f5a63ca6c02a1733800219cfb3.jpg resize: (1080, 1632) 1350673779 -3.188054089174727 treat image : temp/1744195046_1024085_1350673777_18ffac657aaa962e84cd62841110ab7d.jpg resize: (1080, 1632) 1350673777 -0.614167335122436 treat image : temp/1744195046_1024085_1350673768_5b8a9e0f31aadaaa9e983114a6e20590.jpg resize: (1080, 1632) 1350673768 -3.276456414533994 treat image : temp/1744195046_1024085_1350673765_816ba0c10a8677cbb7dcc74288070f7b.jpg resize: (1080, 1632) 1350673765 -4.177700720338013 treat image : temp/1744195046_1024085_1350673762_7e78a9c600869a9fdefb92892b15d566.jpg resize: (1080, 1632) 1350673762 -4.452052291873925 treat image : temp/1744195046_1024085_1350673759_cfa66bd514119fdf6cc6057a5b5f0ecb.jpg resize: (1080, 1632) 1350673759 -1.971435723102084 treat image : temp/1744195046_1024085_1350673757_f27aaee9d6b1842c44213ba00004009a.jpg resize: (1080, 1632) 1350673757 -5.098729723777228 treat image : temp/1744195046_1024085_1350673754_60591201fd14495303dea6c5e35884fa.jpg resize: (1080, 1632) 1350673754 -5.754877663360446 treat image : temp/1744195046_1024085_1350673744_bd6694d56e36d18e56ed1a171d971a41.jpg resize: (1080, 1632) 1350673744 -5.4282374673356575 treat image : temp/1744195046_1024085_1350673743_8c6d4d12646df536afb14990dc8b5488.jpg resize: (1080, 1632) 1350673743 -5.946341173422401 treat image : temp/1744195046_1024085_1350673738_a89ba3cb9329021ca3c7cde78ab20518.jpg resize: (1080, 1632) 1350673738 -4.128215856615604 treat image : temp/1744195046_1024085_1350673735_4695f96009d5d8515e977e7738c33d4f.jpg resize: (1080, 1632) 1350673735 -1.4153471948716732 treat image : temp/1744195046_1024085_1350673726_79c3e0412177a7db92e850fa517ada60.jpg resize: (1080, 1632) 1350673726 -5.26373567697816 treat image : temp/1744195046_1024085_1350673722_383afc54f4d7400a089a8db98636033b.jpg resize: (1080, 1632) 1350673722 -5.089815092002978 treat image : temp/1744195046_1024085_1350673719_7f6e5ce361107c692387f4e9cccc9451.jpg resize: (1080, 1632) 1350673719 -5.443358938499349 treat image : temp/1744195046_1024085_1350673716_df2a8154fdb4ac5470e0558c490ae272.jpg resize: (1080, 1632) 1350673716 -5.827496346369181 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.08999252319335938 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.012959957122802734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021866798400878906 save missing photos in datou_result : time spend for datou_step_exec : 16.21207618713379 time spend to save output : 0.13046598434448242 total time spend for step 1 : 16.34254217147827 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 3.92system 0:20.98elapsed 88%CPU (0avgtext+0avgdata 137204maxresident)k 5800inputs+9272outputs (51major+263850minor)pagefaults 0swaps