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 : 2363016 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 : 1195>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2363016/ 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.4832382202148438 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 May 16 06:12: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/1747368749_2363016_1358813674_a71a2ccaba4ef65b02ec0b8ecdef81cf.jpg resize: (1080, 1632) 1358813674 -5.176309321059369 treat image : temp/1747368749_2363016_1358813618_9215ca0a68841caf7406496468c0a3f5.jpg resize: (1080, 1632) 1358813618 -4.909100902980872 treat image : temp/1747368749_2363016_1358813569_e502702a86afa97510db237d4e6d9fea.jpg resize: (1080, 1632) 1358813569 -4.853920513932057 treat image : temp/1747368749_2363016_1358813520_c618e7bb5bd2cc7f6435b3aa6642dc10.jpg resize: (1080, 1632) 1358813520 -1.6372125715907824 treat image : temp/1747368749_2363016_1358813477_db46538198ce0804cfe31735e0019c1f.jpg resize: (1080, 1632) 1358813477 -4.676272239735875 treat image : temp/1747368749_2363016_1358813170_5549da99bdf7f06b641b9d0f438494fc.jpg resize: (1080, 1632) 1358813170 -1.9308025499648391 treat image : temp/1747368749_2363016_1358813145_11917bf6c0475134e8bf72706fc250bb.jpg resize: (1080, 1632) 1358813145 -0.9794173378591637 treat image : temp/1747368749_2363016_1358813117_f3ba0c109e45e46c49bc88e225189a52.jpg resize: (1080, 1632) 1358813117 -5.032891605754271 treat image : temp/1747368749_2363016_1358813079_5a9531ed455437164687f488b6fffa11.jpg resize: (1080, 1632) 1358813079 -5.131739787582437 treat image : temp/1747368749_2363016_1358812547_fab6c98520544643340a348bccb9aa3d.jpg resize: (1080, 1632) 1358812547 -3.9452222517009017 treat image : temp/1747368749_2363016_1358812522_992102a6367e54f05c8c3a93067c85cf.jpg resize: (1080, 1632) 1358812522 -5.235418349481553 treat image : temp/1747368749_2363016_1358812497_7050820bdad0721bc5f35338dacc9bbb.jpg resize: (1080, 1632) 1358812497 -4.88285413013252 treat image : temp/1747368749_2363016_1358812106_26021bf4e7d2772db5a968eb77c1c969.jpg resize: (1080, 1632) 1358812106 -5.092389400194231 treat image : temp/1747368749_2363016_1358812039_cffb1f1ad46e3f53b7b3983c350b35b8.jpg resize: (1080, 1632) 1358812039 -2.3839694774909432 treat image : temp/1747368749_2363016_1358812007_a1ff054bb7e65f2be319186747723c58.jpg resize: (1080, 1632) 1358812007 -5.181737189733928 treat image : temp/1747368749_2363016_1358811990_04baeefb258ca24c8d73277117d38793.jpg resize: (1080, 1632) 1358811990 -4.675607967603467 treat image : temp/1747368749_2363016_1358811988_983acdf94429d568accb12eec105761e.jpg resize: (1080, 1632) 1358811988 -5.451138285574535 treat image : temp/1747368749_2363016_1358811923_5e877c686b195df91140d98cd450225f.jpg resize: (1080, 1632) 1358811923 -2.515172621146568 treat image : temp/1747368749_2363016_1358810115_a8220d6a073a47026334d45c646915bf.jpg resize: (1080, 1632) 1358810115 -5.419573047879724 treat image : temp/1747368749_2363016_1358810109_1d6c4af5ca6bc223622b7b275aeab1c0.jpg resize: (1080, 1632) 1358810109 -5.154265575906915 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.01312565803527832 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.1994476318359375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.3831014633178711 save missing photos in datou_result : time spend for datou_step_exec : 15.63852858543396 time spend to save output : 0.6010310649871826 total time spend for step 1 : 16.239559650421143 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 3.88system 0:22.72elapsed 79%CPU (0avgtext+0avgdata 139772maxresident)k 232inputs+8856outputs (8major+259932minor)pagefaults 0swaps