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 : 2194021 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 : 7489>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/2194021/ 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.2160444259643555 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 23:17:28 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/1752182246_2194021_1371527371_9580ed727adadf6f7bd94a6f3cfc1403.jpg resize: (1080, 1632) 1371527371 -4.324052313833789 treat image : temp/1752182246_2194021_1371527363_6f29cf86dde7771bc40e62de68ef772b.jpg resize: (1080, 1632) 1371527363 -2.88280976331563 treat image : temp/1752182246_2194021_1371527362_8dee3f8806b3a718bd7758f1218de302.jpg resize: (1080, 1632) 1371527362 -2.858012379352316 treat image : temp/1752182246_2194021_1371527360_53e5fa86bcff29844ce5ef4d4f8a3eee.jpg resize: (1080, 1632) 1371527360 -3.1408372119944623 treat image : temp/1752182246_2194021_1371527349_b3a5f2f2e4ca148720a5c9d77af10048.jpg resize: (1080, 1632) 1371527349 -2.900297251861928 treat image : temp/1752182246_2194021_1371527159_0c74ca60a5c6d96b5d01b7a625aa57f2.jpg resize: (1080, 1632) 1371527159 -4.3177957033273415 treat image : temp/1752182246_2194021_1371527077_c4e632965820f09196269207bcbde69b.jpg resize: (1080, 1632) 1371527077 -2.8793338433273004 treat image : temp/1752182246_2194021_1371527073_bd38dd4aadf173691017818ba971fde9.jpg resize: (1080, 1632) 1371527073 -1.5641723305431805 treat image : temp/1752182246_2194021_1371527067_04fbc7c26ac6a01ef0de66cf6b724d5a.jpg resize: (1080, 1632) 1371527067 -4.254949211973879 treat image : temp/1752182246_2194021_1371526976_3002fee333d088e14e63e42a6546af6c.jpg resize: (1080, 1632) 1371526976 -2.8782778543832097 treat image : temp/1752182246_2194021_1371526713_0e4068f2797ea8e3f1debba380665379.jpg resize: (1080, 1632) 1371526713 -4.3327675960862075 treat image : temp/1752182246_2194021_1371526689_ecb12713a364f5b3ad0bbd72103125b2.jpg resize: (1080, 1632) 1371526689 -2.021227442758774 treat image : temp/1752182246_2194021_1371526615_661d5a2f3dd4b1bd8a1ca0b35fff3bfc.jpg resize: (1080, 1632) 1371526615 -4.23933307877464 treat image : temp/1752182246_2194021_1371526597_26717c82db68182277c8a8de516cafc3.jpg resize: (1080, 1632) 1371526597 -2.881438286866769 treat image : temp/1752182246_2194021_1371526577_69202202c233e52a37cfec5956d23ede.jpg resize: (1080, 1632) 1371526577 -2.8816629413865176 treat image : temp/1752182246_2194021_1371526383_f030e743c2be31f1e97c92218dead4a3.jpg resize: (1080, 1632) 1371526383 -4.2551496952592025 treat image : temp/1752182246_2194021_1371526256_ebaec5fdf823b7ee4a9068bd2f1f0a2f.jpg resize: (1080, 1632) 1371526256 -2.7346839173047903 treat image : temp/1752182246_2194021_1371526237_f10d85472f21007ee3ac1e82604dfcb1.jpg resize: (1080, 1632) 1371526237 -2.8806382681403706 treat image : temp/1752182246_2194021_1371526228_b5cec9c4bca56cde20e1c937dfbbb8c2.jpg resize: (1080, 1632) 1371526228 -4.2376262944307665 treat image : temp/1752182246_2194021_1371526042_44a4a2188ea326c2f0d681bb7132e7c6.jpg resize: (1080, 1632) 1371526042 -2.854902995289653 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.019440412521362305 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.013303279876708984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01496744155883789 save missing photos in datou_result : time spend for datou_step_exec : 15.368962049484253 time spend to save output : 0.052332162857055664 total time spend for step 1 : 15.421294212341309 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.30user 4.44system 0:19.15elapsed 92%CPU (0avgtext+0avgdata 140096maxresident)k 80inputs+7472outputs (0major+259753minor)pagefaults 0swaps