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 : 452752 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/452752/ 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 : 3.1355881690979004 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 Mar 26 01:47:31 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/1742950048_452752_1333403487_71e12178c10e3e062e9975a9e3974fb8.jpg resize: (1080, 1632) 1333403487 4.19559541714796 treat image : temp/1742950048_452752_1333403483_a5177374f8fb0673ad137f0faaba4bda.jpg resize: (1080, 1632) 1333403483 5.52643059657241 treat image : temp/1742950048_452752_1333403478_135d7404d7ec07e4a0c4fc60fdab9470.jpg resize: (1080, 1632) 1333403478 0.5326079529802712 treat image : temp/1742950048_452752_1333403473_c39fb767b60bebef61432408e168e030.jpg resize: (1080, 1632) 1333403473 -0.363224641818869 treat image : temp/1742950048_452752_1333403468_63b282054aa80732ff4961e2c9e93c07.jpg resize: (1080, 1632) 1333403468 4.154550840707362 treat image : temp/1742950048_452752_1333403423_61bfbd87d238d6e61c08a7cb968bfb70.jpg resize: (1080, 1632) 1333403423 3.5624084092808017 treat image : temp/1742950048_452752_1333403421_52387903e83a998a0e13696cfb63049e.jpg resize: (1080, 1632) 1333403421 4.419842512149307 treat image : temp/1742950048_452752_1333403416_fde0523a55fe633f37fa7fcd2d80778e.jpg resize: (1080, 1632) 1333403416 3.605419968744064 treat image : temp/1742950048_452752_1333403386_e235498d210e4492fa0e73c0482b6cb5.jpg resize: (1080, 1632) 1333403386 4.077910691840773 treat image : temp/1742950048_452752_1333403380_93a43ef557c701f584612847a66c7fe3.jpg resize: (1080, 1632) 1333403380 0.45347485570979046 treat image : temp/1742950048_452752_1333403375_0fb963f5c1953bb7d90ef145b988685f.jpg resize: (1080, 1632) 1333403375 1.730255988457558 treat image : temp/1742950048_452752_1333403327_a20657c1417bbec46b56c82af509c4de.jpg resize: (1080, 1632) 1333403327 1.14375468778755 treat image : temp/1742950048_452752_1333403322_83d45aa55ee70e71a88ee39ed2ec0d4d.jpg resize: (1080, 1632) 1333403322 2.2561729937994874 treat image : temp/1742950048_452752_1333403316_bdd42360a0bf0b36396827397c29635f.jpg resize: (1080, 1632) 1333403316 1.459395347391043 treat image : temp/1742950048_452752_1333403310_9c9c90be6a602877fcd17097c324bca3.jpg resize: (1080, 1632) 1333403310 0.5565197308901576 treat image : temp/1742950048_452752_1333403305_a8ae0f7eeb350ce7948f055434343f1d.jpg resize: (1080, 1632) 1333403305 -0.4084576430065575 treat image : temp/1742950048_452752_1333403302_5baae758a2f2bcb8a1ec3556de68a8a7.jpg resize: (1080, 1632) 1333403302 -0.23853509135366507 treat image : temp/1742950048_452752_1333402854_68fe58e9f8c7ec26ef61e76a723ea6c9.jpg resize: (1080, 1632) 1333402854 2.1343809272923115 treat image : temp/1742950048_452752_1333402852_bc159d5b404cbe8edf2e8dd757e8e1be.jpg resize: (1080, 1632) 1333402852 3.4277008932821347 treat image : temp/1742950048_452752_1333402847_557d89d613600920b85bf0d0f4ce672a.jpg resize: (1080, 1632) 1333402847 4.4641023374818065 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.01769542694091797 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.33701634407043457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02290177345275879 save missing photos in datou_result : time spend for datou_step_exec : 14.949513673782349 time spend to save output : 0.38243722915649414 total time spend for step 1 : 15.331950902938843 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.01system 0:20.97elapsed 82%CPU (0avgtext+0avgdata 139280maxresident)k 48inputs+3616outputs (3major+259072minor)pagefaults 0swaps