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 : 3907115 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 : 3420>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3907115/ 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.3811166286468506 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 Sat Mar 22 06:07:36 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/1742620054_3907115_1346342013_f6cf50fc112fd0501fee135f799142e7.jpg resize: (1080, 1632) 1346342013 -5.9962109084687985 treat image : temp/1742620054_3907115_1346341989_12f1a85569dd2269b8377c24e42bb159.jpg resize: (1080, 1632) 1346341989 -6.2111041456445095 treat image : temp/1742620054_3907115_1346341963_cacd04b69e7e5fa7d536a58cc38f62ed.jpg resize: (1080, 1632) 1346341963 -5.76414306663739 treat image : temp/1742620054_3907115_1346341937_6673772ee98ec57a9440449a4269f153.jpg resize: (1080, 1632) 1346341937 -5.565059014612089 treat image : temp/1742620054_3907115_1346341913_3cfa30a8f24fc8d3362ff218f8882249.jpg resize: (1080, 1632) 1346341913 -5.441521253106837 treat image : temp/1742620054_3907115_1346341879_2a501e61b2fa2ed3620116b4b0195d9b.jpg resize: (1080, 1632) 1346341879 -5.889488664436368 treat image : temp/1742620054_3907115_1346341789_5e2c19115271c6431010f533e64860da.jpg resize: (1080, 1632) 1346341789 -5.791205885436185 treat image : temp/1742620054_3907115_1346341770_e24b6ff9996b42ec8a2ef8337cfcd317.jpg resize: (1080, 1632) 1346341770 -5.771946571467747 treat image : temp/1742620054_3907115_1346341744_75c821e7e846d25ffb8ecdfeba7a3839.jpg resize: (1080, 1632) 1346341744 -2.9951815978380125 treat image : temp/1742620054_3907115_1346341721_eb89c96aa18e4faec2c1e824ac1dc1b6.jpg resize: (1080, 1632) 1346341721 -2.508395631623155 treat image : temp/1742620054_3907115_1346341700_c41be52cf12aca1f3109297150997f6a.jpg resize: (1080, 1632) 1346341700 -4.435456880771971 treat image : temp/1742620054_3907115_1346341666_78b1263e3307c6fec26c2d295f59b25b.jpg resize: (1080, 1632) 1346341666 -3.728458478298559 treat image : temp/1742620054_3907115_1346341280_2160d73550616f2f5d9be3d35efc7ff6.jpg resize: (1080, 1632) 1346341280 -4.95476773481777 treat image : temp/1742620054_3907115_1346341257_30cfd073f0a1eb717b35ebbff768c537.jpg resize: (1080, 1632) 1346341257 -6.305619387874512 treat image : temp/1742620054_3907115_1346341236_46abb803bf47030b0eeafdedd6032e0c.jpg resize: (1080, 1632) 1346341236 -2.7531057540501136 treat image : temp/1742620054_3907115_1346341213_ab7aaabcd47fe5a336be134e9e44b6b7.jpg resize: (1080, 1632) 1346341213 -2.5850553379355357 treat image : temp/1742620054_3907115_1346341150_214029ee0ba062b3c05b12e3bd1ceb76.jpg resize: (1080, 1632) 1346341150 -2.889640750583434 treat image : temp/1742620054_3907115_1346341124_8e67b43ca661184fa0231a788e836adf.jpg resize: (1080, 1632) 1346341124 -3.652456458001789 treat image : temp/1742620054_3907115_1346341103_5b734d12c5c66ce9dda9f462a48eca61.jpg resize: (1080, 1632) 1346341103 -5.312307599267599 treat image : temp/1742620054_3907115_1346341074_4eeaba8fe21586267c22948e462316c0.jpg resize: (1080, 1632) 1346341074 -4.234538190494768 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.01674675941467285 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.19196629524230957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014961957931518555 save missing photos in datou_result : time spend for datou_step_exec : 15.774422407150269 time spend to save output : 0.22825217247009277 total time spend for step 1 : 16.00267457962036 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.86user 3.97system 0:21.83elapsed 81%CPU (0avgtext+0avgdata 140588maxresident)k 160inputs+10040outputs (1major+260067minor)pagefaults 0swaps