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 : 440527 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 : 5008>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/440527/ 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.108255386352539 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 Jul 17 14:57: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/1752757048_440527_1372341061_4c845355a5988a2039f974a363820c85.jpg resize: (1080, 1632) 1372341061 -1.575487668278307 treat image : temp/1752757048_440527_1372341059_6bc5a12b9cc0ecc5d58a5f94308147f2.jpg resize: (1080, 1632) 1372341059 -2.8889960402659116 treat image : temp/1752757048_440527_1372341055_f8fe49efea0c773453ffe373d524e1f2.jpg resize: (1080, 1632) 1372341055 -2.866682456920752 treat image : temp/1752757048_440527_1372341031_e1b7857e8e373a1e2e7c8a0c0361cc26.jpg resize: (1080, 1632) 1372341031 -5.518827026563222 treat image : temp/1752757048_440527_1372341028_3d2732030547df0635baab0ec0e95d7b.jpg resize: (1080, 1632) 1372341028 -5.521315174613162 treat image : temp/1752757048_440527_1372341026_357e3ab8afb2b5ea19d7f861c679265b.jpg resize: (1080, 1632) 1372341026 -5.518732287591924 treat image : temp/1752757048_440527_1372341024_159264eaf3f4a5efc5a155d285d8423c.jpg resize: (1080, 1632) 1372341024 -5.5189650666574686 treat image : temp/1752757048_440527_1372341023_709c46b99ff4656cbbbc6f20c5c43554.jpg resize: (1080, 1632) 1372341023 -5.520379926420233 treat image : temp/1752757048_440527_1372341021_eee3964b2437e5ccf052d83add3e5309.jpg resize: (1080, 1632) 1372341021 -5.524349007464931 treat image : temp/1752757048_440527_1372341008_2a0e507f9d197501b323e303b3637b76.jpg resize: (1080, 1632) 1372341008 -5.515436544049553 treat image : temp/1752757048_440527_1372341004_84a56ee47f04ccdc437b19d76d360b1f.jpg resize: (1080, 1632) 1372341004 -5.5152597582010925 treat image : temp/1752757048_440527_1372341000_bcbf4ef4cb524ffd8367ef61d7273821.jpg resize: (1080, 1632) 1372341000 -5.518846241541022 treat image : temp/1752757048_440527_1372340996_67a8b77e50ff22750c6e3af14aa38cd4.jpg resize: (1080, 1632) 1372340996 -5.5170828372613965 treat image : temp/1752757048_440527_1372340995_c77fff84ca1fc849cca3bca87314d39e.jpg resize: (1080, 1632) 1372340995 -5.517107183671859 treat image : temp/1752757048_440527_1372340991_14d1b31f1f95829acbd4f4180947baa7.jpg resize: (1080, 1632) 1372340991 -5.522757833798979 treat image : temp/1752757048_440527_1372340983_a20f8f96883202785263cff9d7a0446e.jpg resize: (1080, 1632) 1372340983 -5.513411474743691 treat image : temp/1752757048_440527_1372340981_5c7cbc3b7f9c09b8343dd9e63f35465f.jpg resize: (1080, 1632) 1372340981 -5.518738998144929 treat image : temp/1752757048_440527_1372340980_d509cdeefcf82a841efd7cffd43c7e11.jpg resize: (1080, 1632) 1372340980 -5.5085401275994945 treat image : temp/1752757048_440527_1372340978_3d8a46c96dc90650670bab53923eed52.jpg resize: (1080, 1632) 1372340978 -5.5042224549708685 treat image : temp/1752757048_440527_1372340977_56674dfc8dc3d0b13b17370edba926de.jpg resize: (1080, 1632) 1372340977 -5.546282361317401 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.030484676361083984 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.036226511001586914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0362246036529541 save missing photos in datou_result : time spend for datou_step_exec : 15.590650081634521 time spend to save output : 0.11653017997741699 total time spend for step 1 : 15.707180261611938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 3.54system 0:22.67elapsed 80%CPU (0avgtext+0avgdata 139848maxresident)k 2368inputs+9288outputs (14major+254823minor)pagefaults 0swaps