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 : 3663878 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 : 2318>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/3663878/ 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.091872215270996 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 Feb 6 17: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/1738858648_3663878_1335238023_e70542d5c593dd3c9330cb61d93b3ad1.jpg resize: (1080, 1632) 1335238023 -5.472174005371599 treat image : temp/1738858648_3663878_1335238017_55f627e8ab74b35d37cd00ad3baddc65.jpg resize: (1080, 1632) 1335238017 -6.086727456588479 treat image : temp/1738858648_3663878_1335237972_1556d387b6bdb6dcd4b8fe3781197969.jpg resize: (1080, 1632) 1335237972 -6.1517836225586935 treat image : temp/1738858648_3663878_1335237965_e3d8a921520e60b0c088e51a0cdba3e6.jpg resize: (1080, 1632) 1335237965 -6.35651630068371 treat image : temp/1738858648_3663878_1335237937_981f742ae844009565ccaa61ad9936a9.jpg resize: (1080, 1632) 1335237937 -6.11096395152293 treat image : temp/1738858648_3663878_1335237933_3f1ead737ff9018a697a7dca3e69cfde.jpg resize: (1080, 1632) 1335237933 -6.009407165731192 treat image : temp/1738858648_3663878_1335237830_6e0f8ce6b268f9c97a1edadbddfffbc9.jpg resize: (1080, 1632) 1335237830 -4.290131754488914 treat image : temp/1738858648_3663878_1335237771_902a742739dc624fada75b8221585597.jpg resize: (1080, 1632) 1335237771 -2.43715578242768 treat image : temp/1738858648_3663878_1335237760_f1c7b2b25d88232518d28dc1a8128451.jpg resize: (1080, 1632) 1335237760 -4.430879466487076 treat image : temp/1738858648_3663878_1335237756_67cd7e7dd80a3906ccc876e1daba85e3.jpg resize: (1080, 1632) 1335237756 -6.292326573286682 treat image : temp/1738858648_3663878_1335237753_095c855f346fe988472b185e322c6b69.jpg resize: (1080, 1632) 1335237753 -6.070384547178405 treat image : temp/1738858648_3663878_1335237751_d9a17191db8f67d1239c089335113258.jpg resize: (1080, 1632) 1335237751 -5.06754007036511 treat image : temp/1738858648_3663878_1335237742_fc26a6ae8abcc228fa613dbb6e95a0d7.jpg resize: (1080, 1632) 1335237742 -3.411302529731184 treat image : temp/1738858648_3663878_1335237740_db266a62bcb1137c22f949532a24f1f0.jpg resize: (1080, 1632) 1335237740 -3.5209404776766657 treat image : temp/1738858648_3663878_1335237737_df6e69ccf89e7d6e0e3a8e59dce577fa.jpg resize: (1080, 1632) 1335237737 -2.088523707539246 treat image : temp/1738858648_3663878_1335237731_a0df8f86fff1c8008bbafec8a644580f.jpg resize: (1080, 1632) 1335237731 -5.866355968892414 treat image : temp/1738858648_3663878_1335237720_f495aa7db2a39d07ff0c5b92afa60bb2.jpg resize: (1080, 1632) 1335237720 -6.132674239611284 treat image : temp/1738858648_3663878_1335237701_23176fc152260ecf78c36aa4f21a9277.jpg resize: (1080, 1632) 1335237701 -5.7175998172080815 treat image : temp/1738858648_3663878_1335237620_4856a3594cb4b469a7844932e66004d5.jpg resize: (1080, 1632) 1335237620 -5.945237041498637 treat image : temp/1738858648_3663878_1335237609_9263a20dd26a201968390c4faf4e0d70.jpg resize: (1080, 1632) 1335237609 -5.966307408430758 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.017271757125854492 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.012052059173583984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01501154899597168 save missing photos in datou_result : time spend for datou_step_exec : 13.08320140838623 time spend to save output : 0.04979586601257324 total time spend for step 1 : 13.132997274398804 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 1.51system 0:18.16elapsed 85%CPU (0avgtext+0avgdata 139576maxresident)k 40inputs+10536outputs (6major+118464minor)pagefaults 0swaps