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 : 3942807 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3942807/ 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 : 3.6278011798858643 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 Tue Sep 16 22:27: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/1758054448_3942807_1383522345_ea1ebe0b4305b034e896adbddde1434e.jpg resize: (1080, 1632) 1383522345 -4.480331081179397 treat image : temp/1758054448_3942807_1383522341_03052243c6b1e46cc40eff210696032d.jpg resize: (1080, 1632) 1383522341 -5.176324083554354 treat image : temp/1758054448_3942807_1383522339_2d27dfd6159dbc69a912376cce35d96f.jpg resize: (1080, 1632) 1383522339 -5.149289416173538 treat image : temp/1758054448_3942807_1383522338_b2305ec5de3a7ecf59aaf24b4441a9a8.jpg resize: (1080, 1632) 1383522338 -6.100671825073571 treat image : temp/1758054448_3942807_1383522331_69a383b206123265570fc6a373a8329e.jpg resize: (1080, 1632) 1383522331 -1.782736006343255 treat image : temp/1758054448_3942807_1383522323_17b45a050410a19cf440064a1a991dd6.jpg resize: (1080, 1632) 1383522323 -2.113823368096273 treat image : temp/1758054448_3942807_1383522320_1f6d368becb484f992ac3eda30adbee4.jpg resize: (1080, 1632) 1383522320 -3.5340826314377196 treat image : temp/1758054448_3942807_1383522318_a8f93e55676e9eec238fe67105dc40ed.jpg resize: (1080, 1632) 1383522318 -4.25830752429758 treat image : temp/1758054448_3942807_1383522312_b7542a69b7a8b77845e16e676acee0c9.jpg resize: (1080, 1632) 1383522312 -4.670181138007342 treat image : temp/1758054448_3942807_1383522309_5968995a9160bca9382d5b76b148e906.jpg resize: (1080, 1632) 1383522309 -5.484650101991874 treat image : temp/1758054448_3942807_1383522305_a9d15bd044e14fedbf75f39a487b44ac.jpg resize: (1080, 1632) 1383522305 -5.332647702459628 treat image : temp/1758054448_3942807_1383522299_faefa739336b92a807aa3d34070bcb24.jpg resize: (1080, 1632) 1383522299 -6.340607285073069 treat image : temp/1758054448_3942807_1383522296_8d4e0dc627612f3956ad948b87f99a74.jpg resize: (1080, 1632) 1383522296 -6.355882546125581 treat image : temp/1758054448_3942807_1383522295_213c68546a865277b5b4c574504522f2.jpg resize: (1080, 1632) 1383522295 -5.887590435329919 treat image : temp/1758054448_3942807_1383522017_2f5a11396ac6973fec96245109b2c783.jpg resize: (1080, 1632) 1383522017 -1.782736006343255 treat image : temp/1758054448_3942807_1383521988_6c36b0a0accf92306e44101e5ef7ea73.jpg resize: (1080, 1632) 1383521988 -2.113823368096273 treat image : temp/1758054448_3942807_1383521962_74409d95db0d99870ba537a73190357f.jpg resize: (1080, 1632) 1383521962 -3.5340826314377196 treat image : temp/1758054448_3942807_1383521932_fb2715de66d740df82e6af2e22d6b169.jpg resize: (1080, 1632) 1383521932 -4.25830752429758 treat image : temp/1758054448_3942807_1383521911_b7aadb0c4cad0adda1660c6233bfc0fd.jpg resize: (1080, 1632) 1383521911 -4.670181138007342 treat image : temp/1758054448_3942807_1383521886_4291b8f91037e5935a55ee0c6bfcefe8.jpg resize: (1080, 1632) 1383521886 -5.484650101991874 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.013662099838256836 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.01497030258178711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0162050724029541 save missing photos in datou_result : time spend for datou_step_exec : 16.087202787399292 time spend to save output : 0.049849510192871094 total time spend for step 1 : 16.137052297592163 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 3.53system 0:23.84elapsed 76%CPU (0avgtext+0avgdata 137304maxresident)k 120inputs+9760outputs (3major+256455minor)pagefaults 0swaps