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 : 1685647 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 : 4410>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1685647/ 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.396470069885254 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 Jul 2 19:37:30 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/1751477848_1685647_1370043856_55ffbc200823d04ae929bdbff1ee74bf.jpg resize: (1080, 1632) 1370043856 -5.635039879780437 treat image : temp/1751477848_1685647_1370043786_5bb6ebee82d8fcfafc8a9b1f6f40d801.jpg resize: (1080, 1632) 1370043786 -5.594874948631878 treat image : temp/1751477848_1685647_1370043691_86a4eea270b65927e9ef339929d28977.jpg resize: (1080, 1632) 1370043691 -5.428922902999611 treat image : temp/1751477848_1685647_1370043596_21be9972fe9c240605f589550bd0da33.jpg resize: (1080, 1632) 1370043596 -5.733843264936588 treat image : temp/1751477848_1685647_1370043507_2c77afc93e12e01a1bdb160026d73a5f.jpg resize: (1080, 1632) 1370043507 -5.114961502449095 treat image : temp/1751477848_1685647_1370043400_8cb2a1e8bf1a7838f1158810e82da456.jpg resize: (1080, 1632) 1370043400 -0.8679497283712382 treat image : temp/1751477848_1685647_1370043100_efe91a0603795e843e4905e704753083.jpg resize: (1080, 1632) 1370043100 -4.784716623311989 treat image : temp/1751477848_1685647_1370042965_a60c056f45d8a45d9fa334195185b182.jpg resize: (1080, 1632) 1370042965 -4.7670158587077065 treat image : temp/1751477848_1685647_1370042906_65837b548a2a2bb2f06b80be54b3ebb8.jpg resize: (1080, 1632) 1370042906 -4.794678784193052 treat image : temp/1751477848_1685647_1370042838_c54e4f243c939ee762836884eb4c5cd4.jpg resize: (1080, 1632) 1370042838 -4.285500262227423 treat image : temp/1751477848_1685647_1370042787_db946a9a1ee33cfe4e07fd087ebdd5b4.jpg resize: (1080, 1632) 1370042787 -5.01711987849292 treat image : temp/1751477848_1685647_1370042747_b2b75cbfd7a3f2ac9c7a4059006fea33.jpg resize: (1080, 1632) 1370042747 -5.700047108498327 treat image : temp/1751477848_1685647_1370040904_4c9b4d84df4d561c020071b33de2a685.jpg resize: (1080, 1632) 1370040904 -5.984678374290441 treat image : temp/1751477848_1685647_1370040793_ee4f66ce147479e2a613f83b6576b71d.jpg resize: (1080, 1632) 1370040793 -6.106595079883153 treat image : temp/1751477848_1685647_1370040652_26e0a0d3b59e08f68673be878e8a2531.jpg resize: (1080, 1632) 1370040652 -4.256544468647298 treat image : temp/1751477848_1685647_1370040437_88be9d75da1ce0247596a5c0d0248d48.jpg resize: (1080, 1632) 1370040437 -5.729232635174059 treat image : temp/1751477848_1685647_1370039859_bef06506dc9c4ef6221973405e41d09f.jpg resize: (1080, 1632) 1370039859 -5.82404166534129 treat image : temp/1751477848_1685647_1370039722_f7b1b95d2edaa20114251b4e9c211edb.jpg resize: (1080, 1632) 1370039722 -5.846857290267221 treat image : temp/1751477848_1685647_1370039654_ac70998ab4d15c1bb207087ff01d7837.jpg resize: (1080, 1632) 1370039654 -5.858676737397085 treat image : temp/1751477848_1685647_1370039611_df436ee96503836111cd935209678405.jpg resize: (1080, 1632) 1370039611 -5.22215580864863 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.018996238708496094 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.030319929122924805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020677804946899414 save missing photos in datou_result : time spend for datou_step_exec : 16.276870489120483 time spend to save output : 0.07566308975219727 total time spend for step 1 : 16.35253357887268 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.89user 3.85system 0:21.09elapsed 88%CPU (0avgtext+0avgdata 138648maxresident)k 2552inputs+10496outputs (32major+253652minor)pagefaults 0swaps