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 : 1034503 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 : 1104>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1034503/ 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.356410503387451 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 13:22: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/1742646148_1034503_1346417205_ddeb047a88259ea55db4b45c1ba16b93.jpg resize: (1080, 1632) 1346417205 -5.4688281918974955 treat image : temp/1742646148_1034503_1346417202_27dff74adc99a5d5952df444203c647f.jpg resize: (1080, 1632) 1346417202 -4.950029457101745 treat image : temp/1742646148_1034503_1346417201_f2fd91bec78efb399662c3405a4fb56e.jpg resize: (1080, 1632) 1346417201 -5.809188108473582 treat image : temp/1742646148_1034503_1346417170_a21dbd39509b99d0291915ec0fedc379.jpg resize: (1080, 1632) 1346417170 -6.421889339156037 treat image : temp/1742646148_1034503_1346417153_2cbf6ee5cb05ac9d766118ccff865310.jpg resize: (1080, 1632) 1346417153 -3.09222970041954 treat image : temp/1742646148_1034503_1346417151_cc8e7657b4bfb5b1ae400ef701209b9f.jpg resize: (1080, 1632) 1346417151 -2.3728102645127804 treat image : temp/1742646148_1034503_1346417126_f98b9261447363d06aadee87a9cf0860.jpg resize: (1080, 1632) 1346417126 -3.142362879570441 treat image : temp/1742646148_1034503_1346417121_71daaa838d45bb923d2a19474ed573c7.jpg resize: (1080, 1632) 1346417121 -2.794883521243696 treat image : temp/1742646148_1034503_1346417113_6a5c497d9fdf75097cdccd58192326f1.jpg resize: (1080, 1632) 1346417113 -6.175853522116138 treat image : temp/1742646148_1034503_1346417105_d9f0e1906b43023633680c251f07668f.jpg resize: (1080, 1632) 1346417105 -4.377868038165813 treat image : temp/1742646148_1034503_1346417102_58f6fee38e42b2631b5938d75acce7ee.jpg resize: (1080, 1632) 1346417102 -6.454486788302837 treat image : temp/1742646148_1034503_1346417100_61da365ce676c530d0a8b3abeae5c813.jpg resize: (1080, 1632) 1346417100 -6.702912633961645 treat image : temp/1742646148_1034503_1346417025_af9bc7ee9bff5db74fe1860c3cc818d4.jpg resize: (1080, 1632) 1346417025 -5.743149541720993 treat image : temp/1742646148_1034503_1346417023_ca8aacf1ca44fd5e0bbd5b135bee12d1.jpg resize: (1080, 1632) 1346417023 -2.527661010057221 treat image : temp/1742646148_1034503_1346417020_e9d810957e82b6a2ac80d2c3897fffd1.jpg resize: (1080, 1632) 1346417020 -3.7140939919468825 treat image : temp/1742646148_1034503_1346417016_6695ab5dc7cb2d7e3a2ff9c3df3de17f.jpg resize: (1080, 1632) 1346417016 -3.668747113498499 treat image : temp/1742646148_1034503_1346416960_ea3b45df77e22185f4651457f35c2f81.jpg resize: (1080, 1632) 1346416960 -6.266631038868802 treat image : temp/1742646148_1034503_1346416949_a4be567ce35509fd14f9b0502f930800.jpg resize: (1080, 1632) 1346416949 -6.657313533516374 treat image : temp/1742646148_1034503_1346416891_325461a7f4d6b13b23c53f1ee04e5d4b.jpg resize: (1080, 1632) 1346416891 -5.145349056367429 treat image : temp/1742646148_1034503_1346416877_4ac01f6365ff06b70f3bec2b734766a2.jpg resize: (1080, 1632) 1346416877 -6.658956475679166 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.013794422149658203 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.01284480094909668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015119075775146484 save missing photos in datou_result : time spend for datou_step_exec : 15.775358438491821 time spend to save output : 0.046794891357421875 total time spend for step 1 : 15.822153329849243 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 4.37system 0:21.44elapsed 84%CPU (0avgtext+0avgdata 140780maxresident)k 112inputs+10840outputs (9major+261333minor)pagefaults 0swaps