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 : 3293558 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3293558/ 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.934436559677124 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 Tue Sep 16 17:42: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/1758037348_3293558_1383558113_4a0870036ad20a80760a253e97bf268f.jpg resize: (1080, 1632) 1383558113 -1.7478632947989803 treat image : temp/1758037348_3293558_1383558089_135cba74ef9a690ad13b1eb72b27028e.jpg resize: (1080, 1632) 1383558089 -1.7705034561397186 treat image : temp/1758037348_3293558_1383558060_127af20709f1155b2a57d445e9a5ed65.jpg resize: (1080, 1632) 1383558060 -1.9200864205047086 treat image : temp/1758037348_3293558_1383557795_6fc884eadc5a0d71e9ccd24926333657.jpg resize: (1080, 1632) 1383557795 -4.518043064656196 treat image : temp/1758037348_3293558_1383557767_ce367d46ea1f92eb01d97346a039051e.jpg resize: (1080, 1632) 1383557767 -4.980495530817876 treat image : temp/1758037348_3293558_1383557741_410706c10b62fb9fe243e02cec9a9c55.jpg resize: (1080, 1632) 1383557741 -4.201065375120577 treat image : temp/1758037348_3293558_1383557716_97d7302bb6a6d1e8bfdeab37c9581503.jpg resize: (1080, 1632) 1383557716 -5.463450932617337 treat image : temp/1758037348_3293558_1383557691_f1dc65e3458727213c6d6d13591c7022.jpg resize: (1080, 1632) 1383557691 -5.734466331339961 treat image : temp/1758037348_3293558_1383557668_02f8abbde6ef9696287c3e5a6d048573.jpg resize: (1080, 1632) 1383557668 -3.6891456510132374 treat image : temp/1758037348_3293558_1383557293_7d9670f1a6f5c0ba925c6fd21a0153a4.jpg resize: (1080, 1632) 1383557293 -1.0010757622268391 treat image : temp/1758037348_3293558_1383557242_2593245d2989d06e362a4a0ea59f4b43.jpg resize: (1080, 1632) 1383557242 -4.927154722845473 treat image : temp/1758037348_3293558_1383557194_c004fb280a816a57e441da9b1b9ba474.jpg resize: (1080, 1632) 1383557194 -6.233721547950079 treat image : temp/1758037348_3293558_1383557136_3c28d97c5d04b0b519830fcc0447466e.jpg resize: (1080, 1632) 1383557136 -3.8064717567110296 treat image : temp/1758037348_3293558_1383556977_ff3ab8393618d9e1e104947422054e8a.jpg resize: (1080, 1632) 1383556977 -5.800397781012993 treat image : temp/1758037348_3293558_1383556926_4530e265b01d11661a5ee142517ca965.jpg resize: (1080, 1632) 1383556926 -6.216868146959737 treat image : temp/1758037348_3293558_1383556875_25e9e632050103a7db95a6e030052410.jpg resize: (1080, 1632) 1383556875 -4.858380078480386 treat image : temp/1758037348_3293558_1383556831_4a6ae0c950263510e5f7da09602db04d.jpg resize: (1080, 1632) 1383556831 -4.32591241108753 treat image : temp/1758037348_3293558_1383556667_77f36a2a68bddbc20985cbdd9393ca2b.jpg resize: (1080, 1632) 1383556667 -5.50580939585577 treat image : temp/1758037348_3293558_1383556633_41a19cd356758ccc238e6b9b33597a57.jpg resize: (1080, 1632) 1383556633 -5.024699874836423 treat image : temp/1758037348_3293558_1383556607_aa889ed200bc0cb47ae06e49e531505f.jpg resize: (1080, 1632) 1383556607 -5.886662678920787 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.012860774993896484 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.013615131378173828 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015214920043945312 save missing photos in datou_result : time spend for datou_step_exec : 15.104991912841797 time spend to save output : 0.046320199966430664 total time spend for step 1 : 15.151312112808228 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 3.23system 0:22.90elapsed 77%CPU (0avgtext+0avgdata 138664maxresident)k 152inputs+9624outputs (8major+264491minor)pagefaults 0swaps