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 : 2300678 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 : 7789>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2300678/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.513770818710327 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 Jul 11 00:17: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/1752185849_2300678_1371530945_4ef3218871110cc37249c8b31af4ec52.jpg resize: (1080, 1632) 1371530945 -4.185453613969148 treat image : temp/1752185849_2300678_1371530939_533c05aae3d7d4244ff06bd93c33569b.jpg resize: (1080, 1632) 1371530939 -1.577635263652426 treat image : temp/1752185849_2300678_1371530936_a72c39070e370d1ceecd32d62f98a9f3.jpg resize: (1080, 1632) 1371530936 -4.596177624862966 treat image : temp/1752185849_2300678_1371530584_938c011df2b9c1b7e1909ee3f1133ec8.jpg resize: (1080, 1632) 1371530584 -3.030324438989701 treat image : temp/1752185849_2300678_1371530573_06bcf8168ef1b8af09ca1fe69aae7eaa.jpg resize: (1080, 1632) 1371530573 -4.185020642814494 treat image : temp/1752185849_2300678_1371530566_ca52e0b4e5f540942f40d894cb42d2df.jpg resize: (1080, 1632) 1371530566 -4.589217509170473 treat image : temp/1752185849_2300678_1371530310_275c223b81d8a2c402d4c69626d5d864.jpg resize: (1080, 1632) 1371530310 -4.5815323864227135 treat image : temp/1752185849_2300678_1371530306_c7381af4292eb36dd98a1a35ec26bbfe.jpg resize: (1080, 1632) 1371530306 -4.180383915286951 treat image : temp/1752185849_2300678_1371530167_d91bae0ad59a25a4012617935ac0cf84.jpg resize: (1080, 1632) 1371530167 -3.0451598333577397 treat image : temp/1752185849_2300678_1371529979_f3036840406fc37149fe506a8219c1b7.jpg resize: (1080, 1632) 1371529979 -5.885648409828919 treat image : temp/1752185849_2300678_1371529875_6f5d73410ce6e2fd601791d37f5bdfd0.jpg resize: (1080, 1632) 1371529875 -4.19652240738667 treat image : temp/1752185849_2300678_1371529755_74f4ace0a43aa3781b8dd28e50a83982.jpg resize: (1080, 1632) 1371529755 -1.9730210445024547 treat image : temp/1752185849_2300678_1371529545_7f3ea661bced800e456f6e07dd7ea874.jpg resize: (1080, 1632) 1371529545 -5.914406209287285 treat image : temp/1752185849_2300678_1371529488_f63224087db7895a75b82f374f0b8158.jpg resize: (1080, 1632) 1371529488 -4.174255961848004 treat image : temp/1752185849_2300678_1371529314_ac2e29065d33c261c41465a2ace9fed5.jpg resize: (1080, 1632) 1371529314 -2.327856615298694 treat image : temp/1752185849_2300678_1371529101_31f7c3755d1a380d34bfb84022682223.jpg resize: (1080, 1632) 1371529101 -4.642711609742753 treat image : temp/1752185849_2300678_1371529014_d864264e534f3fb859af5d9d1cd1cf54.jpg resize: (1080, 1632) 1371529014 -4.164059573426869 treat image : temp/1752185849_2300678_1371528916_dd7cedfb62845b02ee7a5dc2b74663f9.jpg resize: (1080, 1632) 1371528916 -4.182516347711167 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 : 18 time used for this insertion : 0.013423681259155273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.013108253479003906 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01584482192993164 save missing photos in datou_result : time spend for datou_step_exec : 12.113243103027344 time spend to save output : 0.04732155799865723 total time spend for step 1 : 12.160564661026001 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.19user 2.37system 0:18.65elapsed 78%CPU (0avgtext+0avgdata 140848maxresident)k 112inputs+7680outputs (20major+177072minor)pagefaults 0swaps