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 : 1874668 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 : 3972>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1874668/ 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.597278118133545 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 Jul 8 11:12: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/1751965948_1874668_1371150324_5b8a304232c80bfe98e25eae81e1e7c0.jpg resize: (1080, 1632) 1371150324 -3.727683188052396 treat image : temp/1751965948_1874668_1371150322_74908b17326899a2c377b4684b07dbb4.jpg resize: (1080, 1632) 1371150322 -3.7159360742029754 treat image : temp/1751965948_1874668_1371150320_a9aaa350853e3e25de52a5c873c7c346.jpg resize: (1080, 1632) 1371150320 -3.730876898790918 treat image : temp/1751965948_1874668_1371150317_348c0dba205d2d74c986e3e7fa8ea82a.jpg resize: (1080, 1632) 1371150317 -3.7433180575471816 treat image : temp/1751965948_1874668_1371150314_580f4e99d8436c844ea7d43aad223b9a.jpg resize: (1080, 1632) 1371150314 -3.7411863380266555 treat image : temp/1751965948_1874668_1371150310_faf1bfd1f532aa7ea7ef192c298d7e5e.jpg resize: (1080, 1632) 1371150310 -3.739657110915675 treat image : temp/1751965948_1874668_1371150297_64f21f2aba24725ffc9029f22c11a95f.jpg resize: (1080, 1632) 1371150297 -3.7328261486649694 treat image : temp/1751965948_1874668_1371150293_059c6613d0531477e41a5163cfbcbffe.jpg resize: (1080, 1632) 1371150293 -3.7176781529095617 treat image : temp/1751965948_1874668_1371150290_b21b6a9c58ff3d66358773dec6f8ba7c.jpg resize: (1080, 1632) 1371150290 -3.725668049968905 treat image : temp/1751965948_1874668_1371150287_775187c242ad97f4f98a15543eb261b5.jpg resize: (1080, 1632) 1371150287 -3.72250728794076 treat image : temp/1751965948_1874668_1371150285_353af5beda6fb050db183d7b40749bff.jpg resize: (1080, 1632) 1371150285 -3.7261890426396715 treat image : temp/1751965948_1874668_1371150282_620c86d9e6ad87f8368cf68e185cadbd.jpg resize: (1080, 1632) 1371150282 -3.733629123094628 treat image : temp/1751965948_1874668_1371150266_07fcd18abe5f40a9d0803d5198077d94.jpg resize: (1080, 1632) 1371150266 -3.6716013203860007 treat image : temp/1751965948_1874668_1371150262_781bba2963e256b4eec839f3ff7636d9.jpg resize: (1080, 1632) 1371150262 -3.686194740760288 treat image : temp/1751965948_1874668_1371150259_a1da57b971847425818b027d55711414.jpg resize: (1080, 1632) 1371150259 -3.691978900710951 treat image : temp/1751965948_1874668_1371150257_1e1bf490c481039b3aa18a6885599c09.jpg resize: (1080, 1632) 1371150257 -3.7296597206329074 treat image : temp/1751965948_1874668_1371150255_f119b93012b1a1919c9a445cb933fdbb.jpg resize: (1080, 1632) 1371150255 -3.730678982193303 treat image : temp/1751965948_1874668_1371150252_a4aeb34dfaf50c5654fbd43c629a16c8.jpg resize: (1080, 1632) 1371150252 -3.7384669885529207 treat image : temp/1751965948_1874668_1371150233_2c1d550ed0f91f8def76676d709f6d72.jpg resize: (1080, 1632) 1371150233 -3.744727065918733 treat image : temp/1751965948_1874668_1371150231_39f627e014adbdb42963eba50b53d0b3.jpg resize: (1080, 1632) 1371150231 -3.735501638523804 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.011911630630493164 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.011882543563842773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014159440994262695 save missing photos in datou_result : time spend for datou_step_exec : 14.488409519195557 time spend to save output : 0.04234194755554199 total time spend for step 1 : 14.530751466751099 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.83user 3.06system 0:21.18elapsed 79%CPU (0avgtext+0avgdata 139936maxresident)k 40inputs+8016outputs (0major+247917minor)pagefaults 0swaps