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 : 1048274 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1048274/ 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.152761936187744 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 18:57:30 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/1752771447_1048274_1372335475_966de99dcf10e89337f66387a9098af4.jpg resize: (1080, 1632) 1372335475 -2.1053380042881025 treat image : temp/1752771447_1048274_1372335472_29489a22621e3f3234d9d1312c67982f.jpg resize: (1080, 1632) 1372335472 -2.0850045472468897 treat image : temp/1752771447_1048274_1372335469_2336ec2f9d888672eb720c3ae1a40e9c.jpg resize: (1080, 1632) 1372335469 -2.096970991498169 treat image : temp/1752771447_1048274_1372335466_88d4bc4b70d550d9b94f93080b2ca31f.jpg resize: (1080, 1632) 1372335466 -2.1026877777010893 treat image : temp/1752771447_1048274_1372335443_929dc8aec791ee7c01b7f378dbeb7147.jpg resize: (1080, 1632) 1372335443 -2.101219319814962 treat image : temp/1752771447_1048274_1372335441_f7813134c021763de209fc8ac08adae4.jpg resize: (1080, 1632) 1372335441 -2.100054009270279 treat image : temp/1752771447_1048274_1372335438_39ba26a359f03cabeadee5144fa0d0c2.jpg resize: (1080, 1632) 1372335438 -2.1062539976848633 treat image : temp/1752771447_1048274_1372335435_b9c75b50f76772445ae9537b87fbbcd4.jpg resize: (1080, 1632) 1372335435 -2.1113985103530606 treat image : temp/1752771447_1048274_1372335434_f72e2cda5d557c7e048f634740b36e74.jpg resize: (1080, 1632) 1372335434 -2.1005314457383184 treat image : temp/1752771447_1048274_1372335432_47284ad3d7490252008b6bd07a471b04.jpg resize: (1080, 1632) 1372335432 -2.095052809249643 treat image : temp/1752771447_1048274_1372335406_4a2fed5c7748ff7b9b58890ba1f0c683.jpg resize: (1080, 1632) 1372335406 -2.099822215056825 treat image : temp/1752771447_1048274_1372335404_f634850b6bc46af4ecd71da58f7e9ed2.jpg resize: (1080, 1632) 1372335404 -2.0922971979745544 treat image : temp/1752771447_1048274_1372335403_2bdea1422363c5f5cac843b008302266.jpg resize: (1080, 1632) 1372335403 -2.0985864534906193 treat image : temp/1752771447_1048274_1372335401_248108cc862a9a17b29418e55928ce84.jpg resize: (1080, 1632) 1372335401 -2.0961240237831418 treat image : temp/1752771447_1048274_1372335399_25d042fd23b56861953e6de9d27f3afd.jpg resize: (1080, 1632) 1372335399 -2.0995001255763013 treat image : temp/1752771447_1048274_1372335397_e609a2214013f86a08c2039da4126f86.jpg resize: (1080, 1632) 1372335397 -2.101509004037672 treat image : temp/1752771447_1048274_1372335378_8b0ad30a8e847b14c236adb22740606d.jpg resize: (1080, 1632) 1372335378 -2.086554824792202 treat image : temp/1752771447_1048274_1372335375_e8090c31fd335fd123c9b2b3947724c3.jpg resize: (1080, 1632) 1372335375 -2.0931295148590237 treat image : temp/1752771447_1048274_1372335373_2078019956f81a8d4ec60f3196326079.jpg resize: (1080, 1632) 1372335373 -2.0910267142198142 treat image : temp/1752771447_1048274_1372335371_46c84e81e7ca680559e91f985f1d4ac2.jpg resize: (1080, 1632) 1372335371 -2.093551769364627 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.030353546142578125 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 : 4.537063121795654 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.037845611572265625 save missing photos in datou_result : time spend for datou_step_exec : 17.13253664970398 time spend to save output : 4.619316816329956 total time spend for step 1 : 21.751853466033936 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 5.65system 0:26.86elapsed 73%CPU (0avgtext+0avgdata 137708maxresident)k 104inputs+6272outputs (8major+254030minor)pagefaults 0swaps