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 : 2978690 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 : 2693>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/2978690/ 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.6879422664642334 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 Jul 11 08: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/1752216446_2978690_1371559641_9b3e7656ba03fabb30639f0d995e719b.jpg resize: (1080, 1632) 1371559641 -5.375470623012281 treat image : temp/1752216446_2978690_1371559638_0ddc534a1d645261490c6eccdd180c75.jpg resize: (1080, 1632) 1371559638 -5.38571921570789 treat image : temp/1752216446_2978690_1371559608_affe6c3e245abd0449a9b08edb83abd1.jpg resize: (1080, 1632) 1371559608 -5.37220662122151 treat image : temp/1752216446_2978690_1371559558_176a9184c07bb49bbf195c352d0d19ca.jpg resize: (1080, 1632) 1371559558 -5.370726742930045 treat image : temp/1752216446_2978690_1371559340_08a11b1e942c23b27cb433e3cd42c3d2.jpg resize: (1080, 1632) 1371559340 -5.36889614577204 treat image : temp/1752216446_2978690_1371559339_04e86aeec2a3c69cab977e4112140c32.jpg resize: (1080, 1632) 1371559339 -5.365493484740549 treat image : temp/1752216446_2978690_1371559338_e5a3fefc610c74ee0f0250d87a9b9ec8.jpg resize: (1080, 1632) 1371559338 -5.369322018497932 treat image : temp/1752216446_2978690_1371559328_83beee554400012ba3dc7c5fe159c6b0.jpg resize: (1080, 1632) 1371559328 -5.39018601120046 treat image : temp/1752216446_2978690_1371559056_d37d1dd5e58b87ea391879609e12ce41.jpg resize: (1080, 1632) 1371559056 -5.3887931737151336 treat image : temp/1752216446_2978690_1371559026_cbb27434b9dca120298c1ffd0a2773c3.jpg resize: (1080, 1632) 1371559026 -5.3693963178547115 treat image : temp/1752216446_2978690_1371559024_a6a6067180dccbec5f65b0c50d167fa0.jpg resize: (1080, 1632) 1371559024 -5.372682168792162 treat image : temp/1752216446_2978690_1371559001_842571e80103aaca9c6c0b75b96c90b3.jpg resize: (1080, 1632) 1371559001 -5.372559816584039 treat image : temp/1752216446_2978690_1371558750_6dae7288e11b6838fb05d7835643747d.jpg resize: (1080, 1632) 1371558750 -5.374938555035289 treat image : temp/1752216446_2978690_1371558737_73ce135bca3f28851a10f3a6d30387df.jpg resize: (1080, 1632) 1371558737 -5.383781899471734 treat image : temp/1752216446_2978690_1371558665_566a278ab8f115229c5e2cc0cb2a088f.jpg resize: (1080, 1632) 1371558665 -5.367369903609677 treat image : temp/1752216446_2978690_1371558660_b321f1ce26590b9c208f4c60eedecdd2.jpg resize: (1080, 1632) 1371558660 -5.371321382163695 treat image : temp/1752216446_2978690_1371558481_6ac3bdcf5491fcb374e7a945a5714eb8.jpg resize: (1080, 1632) 1371558481 -5.384893655466507 treat image : temp/1752216446_2978690_1371558418_a1eb50f9b1c1d686f34cd5bf687e7610.jpg resize: (1080, 1632) 1371558418 -5.3868804586779335 treat image : temp/1752216446_2978690_1371558362_12cb8298d4b43eb5cf4a3e3ffada183b.jpg resize: (1080, 1632) 1371558362 -5.3650133112753355 treat image : temp/1752216446_2978690_1371558291_c52448b749aa60f2fa178ba0a90483d2.jpg resize: (1080, 1632) 1371558291 -5.369505667655962 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.013497114181518555 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.012041330337524414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014867782592773438 save missing photos in datou_result : time spend for datou_step_exec : 14.780402898788452 time spend to save output : 0.04546809196472168 total time spend for step 1 : 14.825870990753174 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.98user 3.08system 0:19.77elapsed 86%CPU (0avgtext+0avgdata 140544maxresident)k 112inputs+10312outputs (14major+253993minor)pagefaults 0swaps