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 : 479215 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 : 1480>100 please execute split_portfolio.py -i 20493659 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2581025'] with mtr_portfolio_ids : ['20493659'] and first list_photo_ids : [] new path : /proc/479215/ 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.0925214290618896 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 13 16:07: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/1739459247_479215_1337396791_c9af65e6191dca67a795b276a7278c05.jpg resize: (1080, 1632) 1337396791 -1.877656614773186 treat image : temp/1739459247_479215_1337396788_210e8cdd70e7b8fbef81f979044337d1.jpg resize: (1080, 1632) 1337396788 -2.628236615151274 treat image : temp/1739459247_479215_1337396786_eb64231759383fc9dab3d29bd97c85ca.jpg resize: (1080, 1632) 1337396786 -4.658726523298264 treat image : temp/1739459247_479215_1337396782_7a121dd3e3e385a08ea7148ab6d68603.jpg resize: (1080, 1632) 1337396782 -6.414234271292824 treat image : temp/1739459247_479215_1337396755_3e618f694d3ff3cb5d7f7a14e1cf1fc0.jpg resize: (1080, 1632) 1337396755 -5.635237137370517 treat image : temp/1739459247_479215_1337396753_bf5dd36f7fc2860efbf2b8c308a30f99.jpg resize: (1080, 1632) 1337396753 -5.954963482699554 treat image : temp/1739459247_479215_1337396750_3273d6296790dde7f60b89b0c78624f4.jpg resize: (1080, 1632) 1337396750 -5.899751037681433 treat image : temp/1739459247_479215_1337396747_7d7990991057a8ce7f6200cb47db046e.jpg resize: (1080, 1632) 1337396747 -5.907095808609828 treat image : temp/1739459247_479215_1337396744_d81ec5cd4a22811f201cfa550010b8e6.jpg resize: (1080, 1632) 1337396744 -6.316755561372881 treat image : temp/1739459247_479215_1337396741_ea30c1853bd40e19cc8ab2b8413f1fa4.jpg resize: (1080, 1632) 1337396741 -4.173297162555966 treat image : temp/1739459247_479215_1337396702_2734d57af1bb17b81454186a8f5ecf7a.jpg resize: (1080, 1632) 1337396702 -5.899594882734494 treat image : temp/1739459247_479215_1337396699_424d0df8367908013d94cb047e95cd24.jpg resize: (1080, 1632) 1337396699 -4.592884447059496 treat image : temp/1739459247_479215_1337396697_7943e1fae1b3025a3c8aaf64244e45cd.jpg resize: (1080, 1632) 1337396697 -4.80796517584662 treat image : temp/1739459247_479215_1337396694_c504ef051422883731aac488dc56801b.jpg resize: (1080, 1632) 1337396694 -5.143046691022757 treat image : temp/1739459247_479215_1337396690_224bb1cb5615bf27b8bc440aca34a504.jpg resize: (1080, 1632) 1337396690 -3.9213307419396886 treat image : temp/1739459247_479215_1337396562_5d581bb27f3c298b0db3f454a4f460e7.jpg resize: (1080, 1632) 1337396562 -4.382640030020427 treat image : temp/1739459247_479215_1337396366_d5e0078a34bba128ff14656c08b1ec1a.jpg resize: (1080, 1632) 1337396366 -0.9808189685122721 treat image : temp/1739459247_479215_1337396334_5bdec7759ca47aa2053e0ef68307446f.jpg resize: (1080, 1632) 1337396334 -3.6389875905145743 treat image : temp/1739459247_479215_1337396306_12d9aecbb19049a1dc4c410d316bda1a.jpg resize: (1080, 1632) 1337396306 -5.432985543919781 treat image : temp/1739459247_479215_1337396302_cb635eabe0e5b509899e95be66c592ba.jpg resize: (1080, 1632) 1337396302 -5.4019795158751585 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.01346731185913086 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.011931657791137695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014858007431030273 save missing photos in datou_result : time spend for datou_step_exec : 17.70080065727234 time spend to save output : 0.04669594764709473 total time spend for step 1 : 17.747496604919434 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.84user 5.39system 0:22.81elapsed 88%CPU (0avgtext+0avgdata 138092maxresident)k 152inputs+9992outputs (8major+248753minor)pagefaults 0swaps