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 : 2259916 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 : 1099>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2259916/ 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.188955307006836 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 Thu May 22 09:57:32 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/1747900650_2259916_1360477880_2cb45e31d8a2f370534e650a715c1feb.jpg resize: (1080, 1632) 1360477880 -5.845144476006785 treat image : temp/1747900650_2259916_1360477830_d459b5f4a70c19d39b3daa019c1f3ecb.jpg resize: (1080, 1632) 1360477830 -4.263161127973811 treat image : temp/1747900650_2259916_1360477778_db2183d5a6b3916b28b40e2867261949.jpg resize: (1080, 1632) 1360477778 -5.9507092483356105 treat image : temp/1747900650_2259916_1360477729_d1804c97ae2e696ecae54adc2ab5bad8.jpg resize: (1080, 1632) 1360477729 -3.405399751283626 treat image : temp/1747900650_2259916_1360477684_23ce48e4a752e586e5bd3a6807c6d1c7.jpg resize: (1080, 1632) 1360477684 -3.4091608654751018 treat image : temp/1747900650_2259916_1360477634_2b469913d5868b86af68a578f440ebfd.jpg resize: (1080, 1632) 1360477634 -1.8030189205430824 treat image : temp/1747900650_2259916_1360476976_6b8884cd5236fa91c68f8242303a1975.jpg resize: (1080, 1632) 1360476976 -1.081552714770535 treat image : temp/1747900650_2259916_1360476889_1b1a8cc64d7216982dad816f8ad19a2c.jpg resize: (1080, 1632) 1360476889 -1.1015838998499596 treat image : temp/1747900650_2259916_1360476809_6378fad9d107d3a6280fabdb4afe6497.jpg resize: (1080, 1632) 1360476809 -3.4673575144192172 treat image : temp/1747900650_2259916_1360476738_731b60e6ef06f2fa96b9672d8983b081.jpg resize: (1080, 1632) 1360476738 -4.386453756175771 treat image : temp/1747900650_2259916_1360475991_9beb69965f1ab1bab250095363e1ba25.jpg resize: (1080, 1632) 1360475991 -5.06376222120178 treat image : temp/1747900650_2259916_1360475943_4dca9b700229d1389f8ef5958f8c24e8.jpg resize: (1080, 1632) 1360475943 -3.802424248310239 treat image : temp/1747900650_2259916_1360475891_f76cd94d546836077f22f8717ee7e15e.jpg resize: (1080, 1632) 1360475891 -4.919232597902687 treat image : temp/1747900650_2259916_1360475836_18aa26fa91be3a3653d3b61445594bf9.jpg resize: (1080, 1632) 1360475836 -4.986158793859166 treat image : temp/1747900650_2259916_1360475780_3fecdb933fb4f02773526950b11b05d4.jpg resize: (1080, 1632) 1360475780 -2.9972175173418405 treat image : temp/1747900650_2259916_1360475731_a9b11719f7987e90ca14e06b7955c2a2.jpg resize: (1080, 1632) 1360475731 -3.0818709790527743 treat image : temp/1747900650_2259916_1360475394_e9ba2cac55bf79590d2fefae88405eae.jpg resize: (1080, 1632) 1360475394 -4.0610781757595555 treat image : temp/1747900650_2259916_1360475345_90a25a94482050e8e8a134eefe80fd72.jpg resize: (1080, 1632) 1360475345 -5.52214662215899 treat image : temp/1747900650_2259916_1360475297_009c119a7962e83f9737bca1722b463e.jpg resize: (1080, 1632) 1360475297 -3.7234552185523575 treat image : temp/1747900650_2259916_1360475244_78e026a261ecfe6ad9727d5c11174634.jpg resize: (1080, 1632) 1360475244 -5.805018505136662 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.015552043914794922 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.014966487884521484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014835596084594727 save missing photos in datou_result : time spend for datou_step_exec : 16.09599733352661 time spend to save output : 0.0507962703704834 total time spend for step 1 : 16.146793603897095 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 3.68system 0:22.60elapsed 81%CPU (0avgtext+0avgdata 137564maxresident)k 352inputs+9128outputs (7major+258432minor)pagefaults 0swaps