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 : 2164446 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 : 7321>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2164446/ 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.3445770740509033 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 Jul 10 22:52: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/1752180749_2164446_1371525948_ead6d2552b89dad7e6bae3d655f7acc3.jpg resize: (1080, 1632) 1371525948 -2.3348883905172575 treat image : temp/1752180749_2164446_1371525939_d15f6107c1bfd5e80809144918d3ce76.jpg resize: (1080, 1632) 1371525939 -2.386910092544342 treat image : temp/1752180749_2164446_1371525932_0b1ddded219a8bdf7dd21cda03c3c0e6.jpg resize: (1080, 1632) 1371525932 -2.357791985832957 treat image : temp/1752180749_2164446_1371525661_05933d6766ec06c42dfbb8c7bb6ea25b.jpg resize: (1080, 1632) 1371525661 -2.365961451723977 treat image : temp/1752180749_2164446_1371525593_15f77b5f7addc1b46670353cf64f234a.jpg resize: (1080, 1632) 1371525593 -2.398158522721027 treat image : temp/1752180749_2164446_1371525591_015e64a300bdd36b03ced29ee6e055c0.jpg resize: (1080, 1632) 1371525591 -2.380070093190483 treat image : temp/1752180749_2164446_1371525313_5ed4a6e20b0a824f0f8269c0c7e09351.jpg resize: (1080, 1632) 1371525313 -2.3602315533659897 treat image : temp/1752180749_2164446_1371525211_0293e3cde75cd1da2765ef8c6e43ba76.jpg resize: (1080, 1632) 1371525211 -2.4289602801996537 treat image : temp/1752180749_2164446_1371525209_922fd09d2844cbe5a4272e7dbc0f1f38.jpg resize: (1080, 1632) 1371525209 -2.362215428695062 treat image : temp/1752180749_2164446_1371524906_d6b657d41667907dfcf09ae557047f0c.jpg resize: (1080, 1632) 1371524906 -2.35651878308673 treat image : temp/1752180749_2164446_1371524831_450346d971255e160f1ada262c2b712e.jpg resize: (1080, 1632) 1371524831 -2.3565237737834543 treat image : temp/1752180749_2164446_1371524825_07237df58d2b611f7ce1fcc0895fc528.jpg resize: (1080, 1632) 1371524825 -2.341421601276349 treat image : temp/1752180749_2164446_1371524522_3aeb8727d989087ba0794908a4d02bb4.jpg resize: (1080, 1632) 1371524522 -2.352978422898087 treat image : temp/1752180749_2164446_1371524458_ab922c3c7233a577784a3e2d9bfb7811.jpg resize: (1080, 1632) 1371524458 -2.3428393954741953 treat image : temp/1752180749_2164446_1371524454_702c0698b429dfaa5fc8e7a8265e4b09.jpg resize: (1080, 1632) 1371524454 -2.351898141973826 treat image : temp/1752180749_2164446_1371524238_34b9ef1aa085b01c06313f27ae6704c3.jpg resize: (1080, 1632) 1371524238 -2.3201131055582076 treat image : temp/1752180749_2164446_1371524219_085bb3f009f55941d10b8d97670305e6.jpg resize: (1080, 1632) 1371524219 -2.3433159601559876 treat image : temp/1752180749_2164446_1371524184_69ef745071930b3f4b1241b5a204497d.jpg resize: (1080, 1632) 1371524184 -2.35316963432808 treat image : temp/1752180749_2164446_1371524162_5702e957bd25473b6a6a9b73ff2a90ea.jpg resize: (1080, 1632) 1371524162 -2.3257434731520363 treat image : temp/1752180749_2164446_1371524070_45453dcb87b537f46bc9dbff1018deab.jpg resize: (1080, 1632) 1371524070 -2.332157619648972 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.014785051345825195 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.013781070709228516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018303632736206055 save missing photos in datou_result : time spend for datou_step_exec : 15.930915594100952 time spend to save output : 0.05179595947265625 total time spend for step 1 : 15.982711553573608 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.84user 4.74system 0:22.01elapsed 84%CPU (0avgtext+0avgdata 141100maxresident)k 72inputs+6904outputs (0major+256698minor)pagefaults 0swaps