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 : 1547177 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 : 315>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1547177/ 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.2315237522125244 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 May 14 06:22:29 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/1747196547_1547177_1358094943_b36ebf489ec6bdb828876c5160e01622.jpg resize: (1080, 1632) 1358094943 -1.6478377134961044 treat image : temp/1747196547_1547177_1358094941_78c83db059694e13f9d58db284188ce4.jpg resize: (1080, 1632) 1358094941 -2.2459846574492115 treat image : temp/1747196547_1547177_1358094939_d2095935214e19ee3513dde75143d126.jpg resize: (1080, 1632) 1358094939 -1.5693172321612994 treat image : temp/1747196547_1547177_1358094937_3857036d1db9ca9b527f4652b75dabf5.jpg resize: (1080, 1632) 1358094937 -4.279242832487712 treat image : temp/1747196547_1547177_1358094933_bc9c7b6fa6e6020fff8ee529886b312a.jpg resize: (1080, 1632) 1358094933 -5.813054290806095 treat image : temp/1747196547_1547177_1358094863_172b57b2377126ddf04d635f9e181f15.jpg resize: (1080, 1632) 1358094863 -3.8807831167919287 treat image : temp/1747196547_1547177_1358094861_48d666c92f4a6b11e8e55de1fa96a73c.jpg resize: (1080, 1632) 1358094861 -5.761431271339 treat image : temp/1747196547_1547177_1358094858_79c8c4ef55a7d13714375dfc56a7eebc.jpg resize: (1080, 1632) 1358094858 -4.681333804230226 treat image : temp/1747196547_1547177_1358094836_4de3121c9f63a246d8bd1d08b76260eb.jpg resize: (1080, 1632) 1358094836 -5.242168985878889 treat image : temp/1747196547_1547177_1358094833_151080e3ea875c00dcb4c813a3d67bbf.jpg resize: (1080, 1632) 1358094833 -3.361824707032183 treat image : temp/1747196547_1547177_1358094830_ef1f1c0b5d94a096093bbacb81c73cd2.jpg resize: (1080, 1632) 1358094830 -5.577991349928444 treat image : temp/1747196547_1547177_1358094828_747b552d66ae7d881ad7c7a286c4925a.jpg resize: (1080, 1632) 1358094828 -5.425695437491544 treat image : temp/1747196547_1547177_1358094826_5ff220027daec41442d7f012b4c0f82a.jpg resize: (1080, 1632) 1358094826 -5.441902149381885 treat image : temp/1747196547_1547177_1358094823_0cde644a7e8c600bd6ff8066a0265e79.jpg resize: (1080, 1632) 1358094823 -5.615359900075521 treat image : temp/1747196547_1547177_1358094803_d86297d976054dab8e91d90e12e8c0bb.jpg resize: (1080, 1632) 1358094803 -0.6478551885209395 treat image : temp/1747196547_1547177_1358094800_f07ec791d1995b3446a0c9261f3024a7.jpg resize: (1080, 1632) 1358094800 -4.616524401279206 treat image : temp/1747196547_1547177_1358094798_84d3b3deb7304f9939bf6d833af34a26.jpg resize: (1080, 1632) 1358094798 -5.366741022575247 treat image : temp/1747196547_1547177_1358094796_076f3094ea4d156ebe1d3053d59fad9d.jpg resize: (1080, 1632) 1358094796 -4.979989894650646 treat image : temp/1747196547_1547177_1358094794_b929e0910fd5b229938e2512adbb19a2.jpg resize: (1080, 1632) 1358094794 -4.7830277167264095 treat image : temp/1747196547_1547177_1358094626_3b61577bf2b6c85ab386e9a1b3fad4b5.jpg resize: (1080, 1632) 1358094626 -2.419233636720851 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.014130830764770508 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.13464832305908203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029900312423706055 save missing photos in datou_result : time spend for datou_step_exec : 14.722487449645996 time spend to save output : 0.18369650840759277 total time spend for step 1 : 14.906183958053589 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 2.86system 0:19.91elapsed 86%CPU (0avgtext+0avgdata 138932maxresident)k 0inputs+9088outputs (20major+256206minor)pagefaults 0swaps