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 : 213612 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 : 4525>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/213612/ 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.599776029586792 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 Jul 17 13:32: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/1752751949_213612_1372404641_c4797ac4fd16540c0b1f0f6eb5f82af2.jpg resize: (1080, 1632) 1372404641 -2.257865806438612 treat image : temp/1752751949_213612_1372404635_3ab06b7813c84c3d93c05ba2e7f4537d.jpg resize: (1080, 1632) 1372404635 -3.1922442475762653 treat image : temp/1752751949_213612_1372404632_23469697250146319a950b12330912b8.jpg resize: (1080, 1632) 1372404632 -3.1930935869325245 treat image : temp/1752751949_213612_1372404628_d0550428ccf157c3faf1217c04914618.jpg resize: (1080, 1632) 1372404628 -5.282307060961705 treat image : temp/1752751949_213612_1372404623_bde3720f80a6c441891b311423d25a31.jpg resize: (1080, 1632) 1372404623 -3.867543355551272 treat image : temp/1752751949_213612_1372404620_419ddeda6623b36821e77e5830c22523.jpg resize: (1080, 1632) 1372404620 -5.573964956858837 treat image : temp/1752751949_213612_1372404589_272709ff0f0b33e72cfedd241778022d.jpg resize: (1080, 1632) 1372404589 -1.9451855085651406 treat image : temp/1752751949_213612_1372404585_bc1a749be54908117569837c4afc8c33.jpg resize: (1080, 1632) 1372404585 -1.9257335336066619 treat image : temp/1752751949_213612_1372404580_cb227cade056c2f9b74dfb5cbfc25fec.jpg resize: (1080, 1632) 1372404580 -1.9350657987241018 treat image : temp/1752751949_213612_1372404576_043c614c442565ad8a31198d410ef058.jpg resize: (1080, 1632) 1372404576 -1.9093909870910986 treat image : temp/1752751949_213612_1372404570_6c1e4a7fb245682b3389cfbce4422717.jpg resize: (1080, 1632) 1372404570 -1.9340618831925602 treat image : temp/1752751949_213612_1372404562_c000ce8dcc68965d387e23a0a19ec837.jpg resize: (1080, 1632) 1372404562 -1.9312812571437816 treat image : temp/1752751949_213612_1372343405_ef2b69f225b2a8cd337b9d8c9ef2e229.jpg resize: (1080, 1632) 1372343405 -1.6753059419707228 treat image : temp/1752751949_213612_1372343404_764acde681496cc7e1879e8b7b971e00.jpg resize: (1080, 1632) 1372343404 -1.6688980916376468 treat image : temp/1752751949_213612_1372343402_363f384e6fbf1d9e5598a6f4401ff6ec.jpg resize: (1080, 1632) 1372343402 -3.5417331378389205 treat image : temp/1752751949_213612_1372343380_a974cf25bb48c48e6f07b8560d70934d.jpg resize: (1080, 1632) 1372343380 -1.8594042359664797 treat image : temp/1752751949_213612_1372343379_54f1e60a44340ebe9be4487e5ba0f3e6.jpg resize: (1080, 1632) 1372343379 -2.97156539090917 treat image : temp/1752751949_213612_1372343378_4add856cb6ae485f0f586c616bb73c5c.jpg resize: (1080, 1632) 1372343378 -2.9257779828028214 treat image : temp/1752751949_213612_1372343377_8dc5925043133f1b13b1d69e14cd0b47.jpg resize: (1080, 1632) 1372343377 -2.5421159009208334 treat image : temp/1752751949_213612_1372343376_6b7c8c1e337cae8febbc86abcb9e386e.jpg resize: (1080, 1632) 1372343376 -2.4716743075109364 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.016336917877197266 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.015955448150634766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019810914993286133 save missing photos in datou_result : time spend for datou_step_exec : 16.585245847702026 time spend to save output : 0.058458566665649414 total time spend for step 1 : 16.643704414367676 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 4.94system 0:23.62elapsed 80%CPU (0avgtext+0avgdata 138952maxresident)k 104inputs+7104outputs (16major+260265minor)pagefaults 0swaps