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 : 2816953 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 : 3255>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2816953/ 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.125699996948242 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 Thu Mar 6 18:17:30 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/1741281448_2816953_1341275325_2b85027655afa3ad955d0ae77b4c8058.jpg resize: (1080, 1632) 1341275325 -5.492024892510619 treat image : temp/1741281448_2816953_1341275321_ebf85d7877bd02e03e3191191b65f4e5.jpg resize: (1080, 1632) 1341275321 -5.7188206933501675 treat image : temp/1741281448_2816953_1341275316_e7cb79ae784c0408f3d3b983dde72a9b.jpg resize: (1080, 1632) 1341275316 -5.84747613457408 treat image : temp/1741281448_2816953_1341275313_08711f6358f1ff1b2e07f783fa228c17.jpg resize: (1080, 1632) 1341275313 -2.010301295795355 treat image : temp/1741281448_2816953_1341275304_08a70ec39d7dcd0149afad78b455d47b.jpg resize: (1080, 1632) 1341275304 -4.033156262235685 treat image : temp/1741281448_2816953_1341275300_1116c0fd01a3f2eb4235dbc73f2bda5a.jpg resize: (1080, 1632) 1341275300 -3.237608392794516 treat image : temp/1741281448_2816953_1341275291_8a35138d78ac4c84237ad5c1c5abe2b7.jpg resize: (1080, 1632) 1341275291 -5.960398793874529 treat image : temp/1741281448_2816953_1341275289_97c05525de7233f5866068f903dd84d7.jpg resize: (1080, 1632) 1341275289 -6.201755928870811 treat image : temp/1741281448_2816953_1341275285_b94d9eec10a3d862ded8201cf3419613.jpg resize: (1080, 1632) 1341275285 -5.965022832759222 treat image : temp/1741281448_2816953_1341275278_3459600ef88b03e491dcb485a795e932.jpg resize: (1080, 1632) 1341275278 -2.329329962304001 treat image : temp/1741281448_2816953_1341275274_6675e5a3063ed9eef9c27c53d428004f.jpg resize: (1080, 1632) 1341275274 -3.2343968276633364 treat image : temp/1741281448_2816953_1341275270_7c0dff3a60a197214fa90c1a47bcba64.jpg resize: (1080, 1632) 1341275270 -3.409703768885879 treat image : temp/1741281448_2816953_1341275261_fc3caed6afb6353a89ed42e7b075bf85.jpg resize: (1080, 1632) 1341275261 -4.319205775199397 treat image : temp/1741281448_2816953_1341275257_5729bd911c7159055f100cea28ba65d0.jpg resize: (1080, 1632) 1341275257 -6.183944138823459 treat image : temp/1741281448_2816953_1341275252_4489bcd0c5ad97e1d6e1f925b4ecb9ab.jpg resize: (1080, 1632) 1341275252 -5.246202751582921 treat image : temp/1741281448_2816953_1341275248_bff0b1b62d847044a1b387a9bfc0a60d.jpg resize: (1080, 1632) 1341275248 -5.398201936985515 treat image : temp/1741281448_2816953_1341275243_c3143a9aeb99b171979bb81d68fc77e7.jpg resize: (1080, 1632) 1341275243 -5.243974547566467 treat image : temp/1741281448_2816953_1341275238_3ee16f8c8d31212424cfc8ed756d89ec.jpg resize: (1080, 1632) 1341275238 -2.0743172140878925 treat image : temp/1741281448_2816953_1341275169_1946f6f1f0b84c8a60c3ff8d559b2dae.jpg resize: (1080, 1632) 1341275169 -2.0759176009207163 treat image : temp/1741281448_2816953_1341275167_07e5198c57ce066f22989b8dc8f96a12.jpg resize: (1080, 1632) 1341275167 -5.151145067581827 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.06385111808776855 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.10908126831054688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01664876937866211 save missing photos in datou_result : time spend for datou_step_exec : 18.458488702774048 time spend to save output : 0.19458556175231934 total time spend for step 1 : 18.653074264526367 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 5.98system 0:24.13elapsed 87%CPU (0avgtext+0avgdata 140612maxresident)k 3176inputs+9392outputs (111major+260523minor)pagefaults 0swaps