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 : 3723009 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 : 1146>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3723009/ 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.118372917175293 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 Fri Mar 21 13:37: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/1742560647_3723009_1345984308_3f1f0998f891f34fa147b0be29d76404.jpg resize: (1080, 1632) 1345984308 -1.8333941955719724 treat image : temp/1742560647_3723009_1345984307_558463fde1194ea2386adecb439ed881.jpg resize: (1080, 1632) 1345984307 -3.0131154138826344 treat image : temp/1742560647_3723009_1345984303_19db78a2b79ba731479074771be741ce.jpg resize: (1080, 1632) 1345984303 -4.159989645929677 treat image : temp/1742560647_3723009_1345984301_71255e328457f7d9ab564e6817129a00.jpg resize: (1080, 1632) 1345984301 -6.8405400504805565 treat image : temp/1742560647_3723009_1345984298_f9ddc4a673c1245f587648142dc9b0ea.jpg resize: (1080, 1632) 1345984298 -5.380405288089798 treat image : temp/1742560647_3723009_1345984295_337fe89d23594e18cf6b4bb424ee9f2c.jpg resize: (1080, 1632) 1345984295 -5.176826103162486 treat image : temp/1742560647_3723009_1345984284_5e3464ca1d93e643c6bf6e250c1363fd.jpg resize: (1080, 1632) 1345984284 -4.712017639783841 treat image : temp/1742560647_3723009_1345984279_ee788a3cf55a1aa4d7e3613d4d504114.jpg resize: (1080, 1632) 1345984279 -5.516852006552588 treat image : temp/1742560647_3723009_1345984275_eac4abd4267c2bd6692dce3a08584e0a.jpg resize: (1080, 1632) 1345984275 -6.503636519588962 treat image : temp/1742560647_3723009_1345984270_4705e156906148ac1d82568c5fa17edf.jpg resize: (1080, 1632) 1345984270 -6.596075818597134 treat image : temp/1742560647_3723009_1345984265_0b3c8c80ecc26e397a9899b353845abb.jpg resize: (1080, 1632) 1345984265 -6.872665050378124 treat image : temp/1742560647_3723009_1345984261_8251d44f7b3ca68ccd8056b9ee67a7df.jpg resize: (1080, 1632) 1345984261 -4.306766526689739 treat image : temp/1742560647_3723009_1345984002_609bdb792ee90ef6d5ce62332e5f6ca6.jpg resize: (1080, 1632) 1345984002 -1.3795708005918956 treat image : temp/1742560647_3723009_1345984001_31805fde9d0c9bae69770906f01466e6.jpg resize: (1080, 1632) 1345984001 -3.4196280970580544 treat image : temp/1742560647_3723009_1345983997_6277de1c2cd57d47f40e66cb0665f6fc.jpg resize: (1080, 1632) 1345983997 -4.046306476980073 treat image : temp/1742560647_3723009_1345983991_6dd422e7ffbd04d5bde9d5d305fdd585.jpg resize: (1080, 1632) 1345983991 -4.055980420782449 treat image : temp/1742560647_3723009_1345983973_550634355ed297eff0307fe9e26d95a8.jpg resize: (1080, 1632) 1345983973 -6.58683556524336 treat image : temp/1742560647_3723009_1345983969_05d379453176727a4ed7867f0753b7b1.jpg resize: (1080, 1632) 1345983969 -6.259636383031399 treat image : temp/1742560647_3723009_1345983966_126e3b89873507e5d29f3f7dbcd109f9.jpg resize: (1080, 1632) 1345983966 -5.894621967221575 treat image : temp/1742560647_3723009_1345983961_8e375c1b607161655b0f4f0be16e4405.jpg resize: (1080, 1632) 1345983961 -5.585243535893307 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.016547441482543945 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.014895200729370117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0161285400390625 save missing photos in datou_result : time spend for datou_step_exec : 14.922043800354004 time spend to save output : 0.0524144172668457 total time spend for step 1 : 14.97445821762085 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 3.17system 0:19.09elapsed 89%CPU (0avgtext+0avgdata 138128maxresident)k 4256inputs+11008outputs (32major+257203minor)pagefaults 0swaps