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 : 2579467 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 updating current state to 1 we have a portfolio with more photos than limit : 3310>100 please execute split_portfolio.py -i 26463903 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3655228'] with mtr_portfolio_ids : ['26463903'] and first list_photo_ids : [] new path : /proc/2579467/ 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.1115732192993164 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 Wed Sep 3 17:17:28 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/1756912646_2579467_1381159787_22159f13ff4d88a385304dad26e1204e_71702140.jpg resize: (1080, 1632) 1381159787 -4.922340735152121 treat image : temp/1756912646_2579467_1381159785_98feb2786cf630a72b40e83cba3dafdf_26339649.jpg resize: (1080, 1632) 1381159785 -4.095966874403721 treat image : temp/1756912646_2579467_1381159783_bdae54dc71a13ee829271f05fc979c3e_64521485.jpg resize: (1080, 1632) 1381159783 -1.3293352955914566 treat image : temp/1756912646_2579467_1381159781_b1621f6b751dad85d3d5f26749e83d16_29319780.jpg resize: (1080, 1632) 1381159781 -2.2455889711718684 treat image : temp/1756912646_2579467_1381159779_71cec0bba6e1aeb94721d9099e8ba3d5_35897234.jpg resize: (1080, 1632) 1381159779 -2.989082371538877 treat image : temp/1756912646_2579467_1381159777_8f2cb871853a4d4f74a765ab31800397_41128307.jpg resize: (1080, 1632) 1381159777 -3.948482510164535 treat image : temp/1756912646_2579467_1381159301_dd76b487b68b9b9f79c422e23a2737eb_37322776.jpg resize: (1080, 1632) 1381159301 -5.239307703088469 treat image : temp/1756912646_2579467_1381159300_5b37119291643da2be34c22b3d31076d_73423730.jpg resize: (1080, 1632) 1381159300 -5.672684265326228 treat image : temp/1756912646_2579467_1381159299_84669459be81483f0ae6667b81fe02ff_76291087.jpg resize: (1080, 1632) 1381159299 -3.784513963486489 treat image : temp/1756912646_2579467_1381159298_811e7e507614415749c3ceaebb5f262d_15001032.jpg resize: (1080, 1632) 1381159298 -6.073869636692624 treat image : temp/1756912646_2579467_1381159297_436b747e33daf86a2ea9f27d889e8431_28103197.jpg resize: (1080, 1632) 1381159297 -3.4819623888877906 treat image : temp/1756912646_2579467_1381159296_22159f13ff4d88a385304dad26e1204e_86472418.jpg resize: (1080, 1632) 1381159296 -4.922340735152121 treat image : temp/1756912646_2579467_1381159204_119548245502ab359bb4c26a0201740c_90350832.jpg resize: (1080, 1632) 1381159204 -5.870168400055629 treat image : temp/1756912646_2579467_1381159203_2e9cc5bef042bd7f521fc216772de3b3_31292659.jpg resize: (1080, 1632) 1381159203 -4.699791988598755 treat image : temp/1756912646_2579467_1381159201_a4f750146a26cd93d0dbdb0d6bd73a27_98104803.jpg resize: (1080, 1632) 1381159201 -5.926765552843504 treat image : temp/1756912646_2579467_1381159200_1c52ad260b132b99e5a6e8987bc8a2e3_30812660.jpg resize: (1080, 1632) 1381159200 -5.977716032326691 treat image : temp/1756912646_2579467_1381159199_da93cbe8d568b2a7af82448f1414764b_16931156.jpg resize: (1080, 1632) 1381159199 -4.54940967611344 treat image : temp/1756912646_2579467_1381159198_b924a4e83efe5e62d0e59cb825e6565a_74615658.jpg resize: (1080, 1632) 1381159198 -3.8416797913287186 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.015747547149658203 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.011981725692749023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01883697509765625 save missing photos in datou_result : time spend for datou_step_exec : 15.437556743621826 time spend to save output : 0.05124521255493164 total time spend for step 1 : 15.488801956176758 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 13.42user 4.50system 0:19.34elapsed 92%CPU (0avgtext+0avgdata 137296maxresident)k 3624inputs+8712outputs (27major+241390minor)pagefaults 0swaps