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 : 3218541 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 : 2702>100 please execute split_portfolio.py -i 19446291 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2468614'] with mtr_portfolio_ids : ['19446291'] and first list_photo_ids : [] new path : /proc/3218541/ 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 : 1.7415919303894043 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 Sat Feb 1 04:47: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/1738381649_3218541_1333594991_219c0d3838a901528e14e5d7555433c7.jpg resize: (1080, 1632) 1333594991 0.9367175787140759 treat image : temp/1738381649_3218541_1333594990_b640a50cc346ec563e6204ba7cce5caa.jpg resize: (1080, 1632) 1333594990 1.279807018275832 treat image : temp/1738381649_3218541_1333594956_06f3f7497466f76c84a028d81550bee9.jpg resize: (1080, 1632) 1333594956 0.7476506073423932 treat image : temp/1738381649_3218541_1333594953_81217d4c41e26616348726e542832c5d.jpg resize: (1080, 1632) 1333594953 2.674182910567991 treat image : temp/1738381649_3218541_1333594944_120da305ea65cb5d23294e494069aee6.jpg resize: (1080, 1632) 1333594944 0.4976147167807649 treat image : temp/1738381649_3218541_1333594921_e40695abc47a1029363f6e8bdd0509e1.jpg resize: (1080, 1632) 1333594921 1.6424850116346958 treat image : temp/1738381649_3218541_1333594046_ff5c0a70e83f43c520a65d9e9aba9b56.jpg resize: (1080, 1632) 1333594046 1.2273413754915203 treat image : temp/1738381649_3218541_1333593990_d07b09bc0f80e284bedd710d12d7d213.jpg resize: (1080, 1632) 1333593990 2.9371254008526613 treat image : temp/1738381649_3218541_1333593988_5da321743be8e779c55716608f9500f3.jpg resize: (1080, 1632) 1333593988 3.2388246445881492 treat image : temp/1738381649_3218541_1333593984_fd84f7aab00eb0ad4014a002fbd1d164.jpg resize: (1080, 1632) 1333593984 3.169398236320067 treat image : temp/1738381649_3218541_1333593982_5890bdb7358a4e44a622d399b4601bc0.jpg resize: (1080, 1632) 1333593982 3.759870656025581 treat image : temp/1738381649_3218541_1333593978_75fa72853d8bf2edff646c250d9484a9.jpg resize: (1080, 1632) 1333593978 3.7700285164888334 treat image : temp/1738381649_3218541_1333593271_f4d3ac9521f11451baf2a2675ef00511.jpg resize: (1080, 1632) 1333593271 3.7030354641164234 treat image : temp/1738381649_3218541_1333593132_dbdcba56233634496fb0b98ac5a8960c.jpg resize: (1080, 1632) 1333593132 3.646724288969964 treat image : temp/1738381649_3218541_1333593079_7d938f3229968ac94dbf7afbeaf1023d.jpg resize: (1080, 1632) 1333593079 3.0531187172381498 treat image : temp/1738381649_3218541_1333592988_1d4474c5fa78f219b7e36ae8fa7e3b80.jpg resize: (1080, 1632) 1333592988 2.8198545990191772 treat image : temp/1738381649_3218541_1333592983_02308e9943b49f69a2ccec08a4857313.jpg resize: (1080, 1632) 1333592983 3.920391847891221 treat image : temp/1738381649_3218541_1333592978_24cada83b3e9ebd03dddf22309af8aca.jpg resize: (1080, 1632) 1333592978 2.6588048453218356 treat image : temp/1738381649_3218541_1333592870_e9f8c3eba5755645404cb4c3e22b8864.jpg resize: (1080, 1632) 1333592870 0.4657187424779112 treat image : temp/1738381649_3218541_1333592769_e45eca3a3f0e85eb345b81fb348f3e04.jpg resize: (1080, 1632) 1333592769 0.06834094358970286 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.012503385543823242 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.01200556755065918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013926029205322266 save missing photos in datou_result : time spend for datou_step_exec : 15.06531834602356 time spend to save output : 0.043462276458740234 total time spend for step 1 : 15.1087806224823 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 3.35system 0:20.31elapsed 88%CPU (0avgtext+0avgdata 140936maxresident)k 16inputs+3256outputs (4major+260126minor)pagefaults 0swaps