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 : 3627182 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/3627182/ 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.875101327896118 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 20:12:32 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/1758046349_3627182_1383540227_c5c362666dbfac61b8bf25b272c93b52.jpg resize: (1080, 1632) 1383540227 -2.2868122920226415 treat image : temp/1758046349_3627182_1383540226_c37dfa556782f5f0bfc65b794d0f60f9.jpg resize: (1080, 1632) 1383540226 -3.0709446437897 treat image : temp/1758046349_3627182_1383540172_f453ae20f2d6711c5c7f28f8d7d27454.jpg resize: (1080, 1632) 1383540172 -5.795929072729455 treat image : temp/1758046349_3627182_1383540170_8136758526a9b04878f43e3b48b682f7.jpg resize: (1080, 1632) 1383540170 -3.6567174100548865 treat image : temp/1758046349_3627182_1383540142_65e7898946184072c67fb46b8ce97963.jpg resize: (1080, 1632) 1383540142 -4.988954424044219 treat image : temp/1758046349_3627182_1383540138_2c812fd72e0226cc893e750b91df5c6e.jpg resize: (1080, 1632) 1383540138 -3.440361644224738 treat image : temp/1758046349_3627182_1383540125_7676ba1833c24bae5c61f09fc9166145.jpg resize: (1080, 1632) 1383540125 -2.9464906768440247 treat image : temp/1758046349_3627182_1383540102_72715489384b9af698f206cea2b0ec7f.jpg resize: (1080, 1632) 1383540102 -4.042524452069504 treat image : temp/1758046349_3627182_1383540088_3a83052cdbd07e85dfd3cb99d514473f.jpg resize: (1080, 1632) 1383540088 -4.930254969620225 treat image : temp/1758046349_3627182_1383540051_e97f5357257d3b325022a2a8e5e17c4f.jpg resize: (1080, 1632) 1383540051 -2.554749081505332 treat image : temp/1758046349_3627182_1383540049_c4b894bea809c8482ab7298aead282af.jpg resize: (1080, 1632) 1383540049 -0.45943567830970383 treat image : temp/1758046349_3627182_1383540048_6d6d2824c746f8e9b15f64dbb2335f6b.jpg resize: (1080, 1632) 1383540048 -0.7907551563468586 treat image : temp/1758046349_3627182_1383540047_e5309dd83bbd695d044dee92bb19873f.jpg resize: (1080, 1632) 1383540047 -4.00065226652304 treat image : temp/1758046349_3627182_1383540045_6b309d9a52c3706666dd16760016bcc4.jpg resize: (1080, 1632) 1383540045 -3.699625888368124 treat image : temp/1758046349_3627182_1383540025_e461485b4c2c364a47b135fd975dd98b.jpg resize: (1080, 1632) 1383540025 -4.9898070424277385 treat image : temp/1758046349_3627182_1383540021_ebce196ecfce83e1aacb61bb49cd4f6c.jpg resize: (1080, 1632) 1383540021 -5.819032643867918 treat image : temp/1758046349_3627182_1383540017_502362d6dafc354ea882d5f6f81eb113.jpg resize: (1080, 1632) 1383540017 -4.557069877366272 treat image : temp/1758046349_3627182_1383540015_becc8860b6dccefb1da474a63ee05d7c.jpg resize: (1080, 1632) 1383540015 -5.278547066787952 treat image : temp/1758046349_3627182_1383540014_5a97d429f777f15cd7e8dfc29d9317d1.jpg resize: (1080, 1632) 1383540014 -4.798902007815584 treat image : temp/1758046349_3627182_1383540011_d507afe8a6c92e06df7966a918823c4c.jpg resize: (1080, 1632) 1383540011 -5.317493978106177 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.013550758361816406 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.014740943908691406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014996528625488281 save missing photos in datou_result : time spend for datou_step_exec : 15.623295068740845 time spend to save output : 0.048349857330322266 total time spend for step 1 : 15.671644926071167 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 3.80system 0:23.19elapsed 80%CPU (0avgtext+0avgdata 139416maxresident)k 144inputs+9144outputs (0major+254872minor)pagefaults 0swaps