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 : 1349597 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 : 2551>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1349597/ 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.598944902420044 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 9 15:52: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/1757425948_1349597_1382781096_30c2e313b314d477018bc17639cf2d3a.jpg resize: (1080, 1632) 1382781096 -1.483159574934162 treat image : temp/1757425948_1349597_1382781094_9871b3ba4985c33006dc4c9bb31ac506.jpg resize: (1080, 1632) 1382781094 -2.541266931365962 treat image : temp/1757425948_1349597_1382781091_aeb396f58403446b1056ace35c5a8558.jpg resize: (1080, 1632) 1382781091 -3.341490585502646 treat image : temp/1757425948_1349597_1382781087_827324483cf834722010a3a5e08cd976.jpg resize: (1080, 1632) 1382781087 -4.99368817078208 treat image : temp/1757425948_1349597_1382781080_22a3cc1145f8e9a174ce62966da417ae.jpg resize: (1080, 1632) 1382781080 -3.88840502466095 treat image : temp/1757425948_1349597_1382781078_23a7fcbfb1cb82c02d92decfd02fb5a0.jpg resize: (1080, 1632) 1382781078 -3.4258574989289245 treat image : temp/1757425948_1349597_1382781076_116f919b7c50f9dc3775bcd1161824fa.jpg resize: (1080, 1632) 1382781076 -2.8734521509401723 treat image : temp/1757425948_1349597_1382781074_5261448401a065aee40c3df767c9a7f7.jpg resize: (1080, 1632) 1382781074 -4.5604443606573275 treat image : temp/1757425948_1349597_1382781072_430fd235946ed7a94187cf55d77ead3b.jpg resize: (1080, 1632) 1382781072 -5.52502624828351 treat image : temp/1757425948_1349597_1382781070_486c6a529a31d58d836a19846fd99092.jpg resize: (1080, 1632) 1382781070 -0.7550345383710894 treat image : temp/1757425948_1349597_1382781057_2e59b99eb05963ca6bfc9bc556cedb43.jpg resize: (1080, 1632) 1382781057 -1.483159574934162 treat image : temp/1757425948_1349597_1382781054_2865c0f7ae187e5f4e300768ac8c8407.jpg resize: (1080, 1632) 1382781054 -2.541266931365962 treat image : temp/1757425948_1349597_1382781051_e59cac0f0a88b817f06d5d2bb97b3990.jpg resize: (1080, 1632) 1382781051 -3.341490585502646 treat image : temp/1757425948_1349597_1382781047_c7a33ea206f821abcddf937518151974.jpg resize: (1080, 1632) 1382781047 -4.99368817078208 treat image : temp/1757425948_1349597_1382781045_69a14c995ff4f1dad35e6ecfb34417e2.jpg resize: (1080, 1632) 1382781045 -3.88840502466095 treat image : temp/1757425948_1349597_1382781040_af9d78380a9bef873352eafeda088f01.jpg resize: (1080, 1632) 1382781040 -5.802586942968214 treat image : temp/1757425948_1349597_1382781039_ab17a605d44d2f62df7567fd6e4cdf3d.jpg resize: (1080, 1632) 1382781039 -5.744056452406841 treat image : temp/1757425948_1349597_1382781034_ffc87023af99b41662af52876a73e0ab.jpg resize: (1080, 1632) 1382781034 -4.995772709490378 treat image : temp/1757425948_1349597_1382781026_8e52915dad6321a90d513ca9a66099ce.jpg resize: (1080, 1632) 1382781026 -5.06250329497535 treat image : temp/1757425948_1349597_1382781016_b96dc92d4ac27c6974022309ccaf0d4e.jpg resize: (1080, 1632) 1382781016 -5.417302081808043 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.02478790283203125 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.025409460067749023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.027978181838989258 save missing photos in datou_result : time spend for datou_step_exec : 14.626372337341309 time spend to save output : 0.09052920341491699 total time spend for step 1 : 14.716901540756226 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 2.79system 0:20.73elapsed 81%CPU (0avgtext+0avgdata 139312maxresident)k 152inputs+8936outputs (0major+252591minor)pagefaults 0swaps