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 : 1175204 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 : 251>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/1175204/ 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.182954788208008 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 05:47:29 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/1747799247_1175204_1359961960_fbd907e25998c2b7d25c37de753ee314.jpg resize: (1080, 1632) 1359961960 -2.2929323500396452 treat image : temp/1747799247_1175204_1359961958_cc580ebd59b2aa3e44cc2a443d0084ec.jpg resize: (1080, 1632) 1359961958 -4.770072984244644 treat image : temp/1747799247_1175204_1359961904_a4a66fedc0f6d8cd813906f2791515bb.jpg resize: (1080, 1632) 1359961904 -3.382102134773123 treat image : temp/1747799247_1175204_1359961880_c86be7d40ce3a43f3d60810131902543.jpg resize: (1080, 1632) 1359961880 -2.07671321014358 treat image : temp/1747799247_1175204_1359961877_d7b6a5651c0c1f2fb3bf53c8f6a037d4.jpg resize: (1080, 1632) 1359961877 -3.378147090474628 treat image : temp/1747799247_1175204_1359961859_b085aadbe0f01d9b94909ecdc7a029c4.jpg resize: (1080, 1632) 1359961859 -6.088143291348631 treat image : temp/1747799247_1175204_1359961856_4679a938e9b9ecca0589b2b048b1b10c.jpg resize: (1080, 1632) 1359961856 -4.345784683587483 treat image : temp/1747799247_1175204_1359961841_2df2e2a46a3ff2c064c43449f82eb3ff.jpg resize: (1080, 1632) 1359961841 -2.2896727267382424 treat image : temp/1747799247_1175204_1359961833_d08e152f0b62687983af49bc26a6d6d0.jpg resize: (1080, 1632) 1359961833 -4.765999555155402 treat image : temp/1747799247_1175204_1359961830_bdf0ecbac271a07f5e25df50aa2f2d0d.jpg resize: (1080, 1632) 1359961830 -5.198742262459496 treat image : temp/1747799247_1175204_1359961827_a1a6ca1f9c46361700cb6c231785e441.jpg resize: (1080, 1632) 1359961827 -5.082642428897756 treat image : temp/1747799247_1175204_1359961824_f47f53c6007072959019fa2fd63a5aa0.jpg resize: (1080, 1632) 1359961824 -5.583012707844899 treat image : temp/1747799247_1175204_1359961820_62c4f3b67c990eb1e73655f0e96e28ee.jpg resize: (1080, 1632) 1359961820 -6.298877889461266 treat image : temp/1747799247_1175204_1359960480_d1fb052b7bb6deff1155c50791d18e2e.jpg resize: (1080, 1632) 1359960480 -5.853822817181171 treat image : temp/1747799247_1175204_1359960438_5a6236265d745eb8fa230c8ec7d092c2.jpg resize: (1080, 1632) 1359960438 -5.69401906588416 treat image : temp/1747799247_1175204_1359960413_b120ad80c6153c683d0f66541bb81427.jpg resize: (1080, 1632) 1359960413 -5.211310685131205 treat image : temp/1747799247_1175204_1359960396_9d16731bf65f596b35000b686c26068a.jpg resize: (1080, 1632) 1359960396 -5.396684459310197 treat image : temp/1747799247_1175204_1359960392_b58fa7010c0f1f8f3df680be3484d8ff.jpg resize: (1080, 1632) 1359960392 -4.909517808263097 treat image : temp/1747799247_1175204_1359957952_a905208df9669a2bc09964e4496d493a.jpg resize: (1080, 1632) 1359957952 -5.474801854873056 treat image : temp/1747799247_1175204_1359957925_d43eeaeab95a7cdb5b1e2c82cc48d244.jpg resize: (1080, 1632) 1359957925 -5.436498440802971 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.01668572425842285 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.3580193519592285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.16167378425598145 save missing photos in datou_result : time spend for datou_step_exec : 16.526506900787354 time spend to save output : 0.541461706161499 total time spend for step 1 : 17.067968606948853 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 4.78system 0:21.00elapsed 90%CPU (0avgtext+0avgdata 136484maxresident)k 56inputs+9792outputs (16major+256431minor)pagefaults 0swaps