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 : 1343810 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 : 2149>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1343810/ 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.3170597553253174 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 Thu Aug 21 22:42: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/1755808949_1343810_1378304257_11c421fef5241a3360ce3a0b407001bf.jpg resize: (1080, 1632) 1378304257 -4.9209683934150705 treat image : temp/1755808949_1343810_1378304164_c33fc68b7dd56eb39eaa0e1faa71ae74.jpg resize: (1080, 1632) 1378304164 -2.216766639223109 treat image : temp/1755808949_1343810_1378304057_3714b5de27d301475bec725ecd8c9f6a.jpg resize: (1080, 1632) 1378304057 -5.009503176241236 treat image : temp/1755808949_1343810_1378303965_9a60674bc6e9b0fb220cf70c2b070369.jpg resize: (1080, 1632) 1378303965 -5.16012421110885 treat image : temp/1755808949_1343810_1378303856_d42d4c5caddd9d11be902ac1443b9455.jpg resize: (1080, 1632) 1378303856 -5.561478510058754 treat image : temp/1755808949_1343810_1378303758_ca9062f69b6ff3e5b3c129b1e74e06a9.jpg resize: (1080, 1632) 1378303758 -6.241540087671539 treat image : temp/1755808949_1343810_1378300285_c0104493111c274379363f7cdfe2b827.jpg resize: (1080, 1632) 1378300285 -2.1027060297739033 treat image : temp/1755808949_1343810_1378300238_e757955121d7110878fef50d7ea20412.jpg resize: (1080, 1632) 1378300238 -2.2796446424570544 treat image : temp/1755808949_1343810_1378300188_e5bdcecb9ee2fab878b574d1a421ef8c.jpg resize: (1080, 1632) 1378300188 -2.185787265480076 treat image : temp/1755808949_1343810_1378300140_71c58a42c6910acba934229bd83c3277.jpg resize: (1080, 1632) 1378300140 -5.28117602981014 treat image : temp/1755808949_1343810_1378300047_2233f9dd68d981413813e16f81ac1595.jpg resize: (1080, 1632) 1378300047 -5.763395870099593 treat image : temp/1755808949_1343810_1378300020_79b6bed9abed0d33fddc8aba62c75d79.jpg resize: (1080, 1632) 1378300020 -5.023609339367951 treat image : temp/1755808949_1343810_1378299969_1e74ab17b0e7af5a8ebdba6b4749f6ad.jpg resize: (1080, 1632) 1378299969 -5.406059604767414 treat image : temp/1755808949_1343810_1378299923_22c6d0dc78108a5c22b84d86ee0261a2.jpg resize: (1080, 1632) 1378299923 -5.056469053942022 treat image : temp/1755808949_1343810_1378299864_c1842f35fb304af2a34028fce9dab824.jpg resize: (1080, 1632) 1378299864 -3.068611946649903 treat image : temp/1755808949_1343810_1378299814_75501621679b799136bfda6bd978d293.jpg resize: (1080, 1632) 1378299814 -1.3677928863698574 treat image : temp/1755808949_1343810_1378287262_9288763ab0354900d9a731605ae10456.jpg resize: (1080, 1632) 1378287262 -4.6872349710752035 treat image : temp/1755808949_1343810_1378287168_7c9ecd9ca3e4385b18c729fdc64ddb1f.jpg resize: (1080, 1632) 1378287168 -3.3615509046739915 treat image : temp/1755808949_1343810_1378287063_a8aa743e8587dce40ec354cdfc6840ed.jpg resize: (1080, 1632) 1378287063 -3.5342596548721144 treat image : temp/1755808949_1343810_1378286967_f17809e0132d569b22f15be44fc21bc2.jpg resize: (1080, 1632) 1378286967 -3.0526163656355982 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.01358938217163086 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.011898517608642578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013959884643554688 save missing photos in datou_result : time spend for datou_step_exec : 15.849354982376099 time spend to save output : 0.044197797775268555 total time spend for step 1 : 15.893552780151367 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.05user 3.02system 0:22.18elapsed 81%CPU (0avgtext+0avgdata 140696maxresident)k 104inputs+8936outputs (6major+253631minor)pagefaults 0swaps