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 : 202408 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 : 7586>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/202408/ 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.24593448638916 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 Fri Aug 1 04:37:29 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/1754015847_202408_1374708567_4f4c8dd671e6e130cc5b7de4102d30ec.jpg resize: (1080, 1632) 1374708567 -3.594721169093709 treat image : temp/1754015847_202408_1374708564_36902f78d592f843f0a4138ba6b77a04.jpg resize: (1080, 1632) 1374708564 -2.6972129048232354 treat image : temp/1754015847_202408_1374708562_0903cf1202f3adeca0f3d0a5a0e8238b.jpg resize: (1080, 1632) 1374708562 -1.5926543547384473 treat image : temp/1754015847_202408_1374708559_59ed1825b26f7897718de5891c11d34e.jpg resize: (1080, 1632) 1374708559 -3.620630274192985 treat image : temp/1754015847_202408_1374708556_d4e24b3fdd5ea28a7b254b51e495dc6b.jpg resize: (1080, 1632) 1374708556 -5.128441254997283 treat image : temp/1754015847_202408_1374708553_09054cda4722df1cce2ad98f3b374782.jpg resize: (1080, 1632) 1374708553 -4.864744920812359 treat image : temp/1754015847_202408_1374708543_ba7a773e7cf681b9b06d95442a78a625.jpg resize: (1080, 1632) 1374708543 -5.098011858327053 treat image : temp/1754015847_202408_1374708541_1d40abbd6b16ab0fb7b4155dd9a6e023.jpg resize: (1080, 1632) 1374708541 -5.021246857735352 treat image : temp/1754015847_202408_1374708538_4e53f27ef9ebdf84557cdc23f83fdb18.jpg resize: (1080, 1632) 1374708538 -3.336474570823183 treat image : temp/1754015847_202408_1374708534_70207c1ec93b4cfe2a1e67e0f2b2e9fe.jpg resize: (1080, 1632) 1374708534 -5.0348851562240835 treat image : temp/1754015847_202408_1374708531_50500aef0f3050da4991a9e1e7cfbd55.jpg resize: (1080, 1632) 1374708531 -4.774182367009496 treat image : temp/1754015847_202408_1374708527_ee8cbf02ed33ed5561bb21ddc3696698.jpg resize: (1080, 1632) 1374708527 -5.658040578064388 treat image : temp/1754015847_202408_1374708452_ccacb89351e34d01e24bb8f0d173c3c8.jpg resize: (1080, 1632) 1374708452 -4.723696734106214 treat image : temp/1754015847_202408_1374708450_d35f52e97339a49934b097c60ae19f76.jpg resize: (1080, 1632) 1374708450 -2.3828902014886966 treat image : temp/1754015847_202408_1374708446_4b663bfcc1d42301e1e8b5b01ad27c96.jpg resize: (1080, 1632) 1374708446 -4.823304062068309 treat image : temp/1754015847_202408_1374708443_cdd1fe3e81e35354dc0019e7e3142341.jpg resize: (1080, 1632) 1374708443 -4.6450250927528645 treat image : temp/1754015847_202408_1374708438_065076728a2e086266d7438c602dd56e.jpg resize: (1080, 1632) 1374708438 -4.680495950023914 treat image : temp/1754015847_202408_1374708437_bf3e6d1f349d0f1efb14713ac41dca0a.jpg resize: (1080, 1632) 1374708437 -4.991855477341346 treat image : temp/1754015847_202408_1374708435_c15b07f349db9cdca4c70643a2ab799b.jpg resize: (1080, 1632) 1374708435 -4.789295709566018 treat image : temp/1754015847_202408_1374708432_ffb3e4f66e156aa0b1b4d6b3bafede76.jpg resize: (1080, 1632) 1374708432 -1.5364208171519231 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.012401342391967773 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.32204294204711914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2059009075164795 save missing photos in datou_result : time spend for datou_step_exec : 16.697319507598877 time spend to save output : 0.5457193851470947 total time spend for step 1 : 17.24303889274597 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.84user 5.23system 0:22.24elapsed 85%CPU (0avgtext+0avgdata 138992maxresident)k 0inputs+8832outputs (4major+259792minor)pagefaults 0swaps