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 : 3964436 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 : 2847>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3964436/ 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.5220718383789062 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 Wed May 21 19:32: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/1747848750_3964436_1360128341_38a495a368d1313d202e1e66bbd8510d.jpg resize: (1080, 1632) 1360128341 -0.658050425147163 treat image : temp/1747848750_3964436_1360128296_3c16b517ca7ab0e52e8b1daae3fca09f.jpg resize: (1080, 1632) 1360128296 -2.32192627818918 treat image : temp/1747848750_3964436_1360128262_4e4e2a9d2595db2486d7bbcdd8a9b6e9.jpg resize: (1080, 1632) 1360128262 -6.136096537538285 treat image : temp/1747848750_3964436_1360128207_e4b8154d67edc995a082b849dd95c8de.jpg resize: (1080, 1632) 1360128207 -6.387663441086573 treat image : temp/1747848750_3964436_1360128151_a8fc49576fc5f57d7e018ce96561760e.jpg resize: (1080, 1632) 1360128151 -5.6836694588671115 treat image : temp/1747848750_3964436_1360127602_fc772b7dcac821030d2f52b0404cf3c3.jpg resize: (1080, 1632) 1360127602 -6.318756205731475 treat image : temp/1747848750_3964436_1360127571_337706a2e8508f63c1d61a4548484a4d.jpg resize: (1080, 1632) 1360127571 -5.93750804230003 treat image : temp/1747848750_3964436_1360127539_e0fc78d160e8b7b2b876b8b2697340d4.jpg resize: (1080, 1632) 1360127539 -1.5494422225998277 treat image : temp/1747848750_3964436_1360127138_9426d7fc7f3ebb1c10aa0fb45daa8274.jpg resize: (1080, 1632) 1360127138 -5.41650452668603 treat image : temp/1747848750_3964436_1360127090_fdad1997faf622d4532a7fe6de4cd7a3.jpg resize: (1080, 1632) 1360127090 -5.5720583946557944 treat image : temp/1747848750_3964436_1360127037_b6a6cce9c292d22c757b062f50203691.jpg resize: (1080, 1632) 1360127037 -6.003596239721422 treat image : temp/1747848750_3964436_1360126985_a9fe419439c1a9639d6c16481b7ac31f.jpg resize: (1080, 1632) 1360126985 -6.407956706585524 treat image : temp/1747848750_3964436_1360126932_ebfd4e7e741d12792657d0779ba76841.jpg resize: (1080, 1632) 1360126932 -5.381318811198687 treat image : temp/1747848750_3964436_1360126865_efc04db1bf9e8d266caff6950d46b59c.jpg resize: (1080, 1632) 1360126865 -3.214514654898525 treat image : temp/1747848750_3964436_1360126148_1223c1dc6542c0e6838d92e1c67263b6.jpg resize: (1080, 1632) 1360126148 -5.0399389626478985 treat image : temp/1747848750_3964436_1360126095_ac4e4c7bd38cace752d56ce405aac0ba.jpg resize: (1080, 1632) 1360126095 -3.543304786517381 treat image : temp/1747848750_3964436_1360126046_10799d636b916f98891ad66f5f8a1581.jpg resize: (1080, 1632) 1360126046 -5.220802795529843 treat image : temp/1747848750_3964436_1360126000_467ce3d42d483e365f354259f1e4cc8e.jpg resize: (1080, 1632) 1360126000 -6.168438755780325 treat image : temp/1747848750_3964436_1360125964_e1e4b15899172f3e2436be7784acb0f3.jpg resize: (1080, 1632) 1360125964 -3.9451846818241347 treat image : temp/1747848750_3964436_1360125354_fa3966f8446c0e5294bdba841fe717ae.jpg resize: (1080, 1632) 1360125354 -1.4600874823580308 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.012589454650878906 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.013737916946411133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014941930770874023 save missing photos in datou_result : time spend for datou_step_exec : 15.303002834320068 time spend to save output : 0.046904802322387695 total time spend for step 1 : 15.349907636642456 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 3.57system 0:21.87elapsed 80%CPU (0avgtext+0avgdata 137920maxresident)k 152inputs+10184outputs (15major+259731minor)pagefaults 0swaps