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 : 2079395 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 : 2835>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/2079395/ 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.299474000930786 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 Wed Feb 5 04: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/1738725148_2079395_1334733029_5c75f8cb71afcb8d66bc1b83b4311a8f.jpg resize: (1080, 1632) 1334733029 -5.4862906706529335 treat image : temp/1738725148_2079395_1334733028_b99c03f8994157cf56cb869e6c60b3df.jpg resize: (1080, 1632) 1334733028 -5.4862906706529335 treat image : temp/1738725148_2079395_1334732978_ce658b88ce9508ca0f0466446ca846c8.jpg resize: (1080, 1632) 1334732978 -5.458333318774732 treat image : temp/1738725148_2079395_1334732975_f24301a71218486b4543c674a69880eb.jpg resize: (1080, 1632) 1334732975 -4.2960184900497165 treat image : temp/1738725148_2079395_1334732973_84c93e009c1d835d1de0e75c535bbb78.jpg resize: (1080, 1632) 1334732973 -1.9466574423607321 treat image : temp/1738725148_2079395_1334732970_99587bea5cb9f13b12e79adbff0d644b.jpg resize: (1080, 1632) 1334732970 -2.2341702560558843 treat image : temp/1738725148_2079395_1334732969_f46de28ef54f361466bb5ab2663f1774.jpg resize: (1080, 1632) 1334732969 -4.228545364622499 treat image : temp/1738725148_2079395_1334732968_1993ae1dc2baf6c9b3112b7e7cf21afb.jpg resize: (1080, 1632) 1334732968 -5.993213406726767 treat image : temp/1738725148_2079395_1334732963_d8bb62cf447e1109cf1fac691fd31c07.jpg resize: (1080, 1632) 1334732963 -5.403329427008668 treat image : temp/1738725148_2079395_1334732960_1ecdaa65c7dc4d9a6ade5701419b4e36.jpg resize: (1080, 1632) 1334732960 -6.003531716452236 treat image : temp/1738725148_2079395_1334732956_c63cdc11578e8f9f4823ac240f4436d9.jpg resize: (1080, 1632) 1334732956 -5.859885636898219 treat image : temp/1738725148_2079395_1334732952_3ea755e06d9550ea71564dcd9f06ce56.jpg resize: (1080, 1632) 1334732952 -5.245709684574177 treat image : temp/1738725148_2079395_1334732943_3ab0a37a7afc57d1b8cb2962b40a4829.jpg resize: (1080, 1632) 1334732943 -5.8672842500168505 treat image : temp/1738725148_2079395_1334732940_e49e9801cd28dc9341b04a08287b4aa9.jpg resize: (1080, 1632) 1334732940 -6.34444770573845 treat image : temp/1738725148_2079395_1334732939_3c1c5c91f937923816e00a46b7072acf.jpg resize: (1080, 1632) 1334732939 -2.9454083758252385 treat image : temp/1738725148_2079395_1334732938_88dd530e14faef14e9408564adf94ce2.jpg resize: (1080, 1632) 1334732938 -4.279525088507698 treat image : temp/1738725148_2079395_1334732935_bb64683347d823b0a911a3766a368721.jpg resize: (1080, 1632) 1334732935 -5.550228617694872 treat image : temp/1738725148_2079395_1334732932_30a3c6184cae504cb8ee696664a7c768.jpg resize: (1080, 1632) 1334732932 -6.12646828482243 treat image : temp/1738725148_2079395_1334732930_1f0d91b541a95142ac7064b2b0f47218.jpg resize: (1080, 1632) 1334732930 -4.083184082897105 treat image : temp/1738725148_2079395_1334732927_72afdea948a9c0990d1a75711c807756.jpg resize: (1080, 1632) 1334732927 -4.836488914596728 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.013619661331176758 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.0309450626373291 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03890490531921387 save missing photos in datou_result : time spend for datou_step_exec : 17.154077529907227 time spend to save output : 0.15023112297058105 total time spend for step 1 : 17.304308652877808 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.64user 4.61system 0:24.60elapsed 78%CPU (0avgtext+0avgdata 135888maxresident)k 21752inputs+10224outputs (144major+192837minor)pagefaults 0swaps