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 : 2102266 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 : 7039>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/2102266/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.7469778060913086 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 10 22:02:29 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/1752177747_2102266_1371522538_7f1256eb5bbeaff01e8a3c8e23e8dca8.jpg resize: (1080, 1632) 1371522538 -2.7680794998199 treat image : temp/1752177747_2102266_1371522528_0ddc65b10ce2abb1ef3175571aa3b07a.jpg resize: (1080, 1632) 1371522528 -2.620151966635608 treat image : temp/1752177747_2102266_1371522525_a583e8ca5ef305f01ccbe7774b7d11c1.jpg resize: (1080, 1632) 1371522525 -2.7196129539208957 treat image : temp/1752177747_2102266_1371522346_db780efcfef212a0757e283d1faa554c.jpg resize: (1080, 1632) 1371522346 -2.7010683655082985 treat image : temp/1752177747_2102266_1371522269_e28c91fe26f3ede37e9d1175ea9723df.jpg resize: (1080, 1632) 1371522269 -2.764595335150983 treat image : temp/1752177747_2102266_1371522201_d31934c0cf0553f486a423c34b529039.jpg resize: (1080, 1632) 1371522201 -2.6931341833461953 treat image : temp/1752177747_2102266_1371522104_903910a3d11359fa34893688bd6cf69c.jpg resize: (1080, 1632) 1371522104 -2.6563216212531033 treat image : temp/1752177747_2102266_1371522103_04db0fdf9132e2b2c3cbe65b227e4f57.jpg resize: (1080, 1632) 1371522103 -2.7057323651629086 treat image : temp/1752177747_2102266_1371522100_3f5788f8572d8e65d9e4f6f31addfe79.jpg resize: (1080, 1632) 1371522100 -2.7534921826905747 treat image : temp/1752177747_2102266_1371521969_d2dd75d88bb2dfa3a650763b7d9cd938.jpg resize: (1080, 1632) 1371521969 -2.7325499112433 treat image : temp/1752177747_2102266_1371521891_6a8e67258ced5fc1967e8010ae053666.jpg resize: (1080, 1632) 1371521891 -2.753556544194692 treat image : temp/1752177747_2102266_1371521824_10feb35432f218e9c82799ec3d441e48.jpg resize: (1080, 1632) 1371521824 -2.6696920586136335 treat image : temp/1752177747_2102266_1371521767_b89571e4058157c29274efa98ace664e.jpg resize: (1080, 1632) 1371521767 -2.6689172128956704 treat image : temp/1752177747_2102266_1371521766_fc85102541b34b6e923d8257191d2e94.jpg resize: (1080, 1632) 1371521766 -2.6227983029573867 treat image : temp/1752177747_2102266_1371521697_a0267024fea2370bb8bec9be2ad3f42e.jpg resize: (1080, 1632) 1371521697 -2.7742076867349423 treat image : temp/1752177747_2102266_1371521602_427c760dca55cb6199bd4d08a3bdc1d4.jpg resize: (1080, 1632) 1371521602 -2.7511359416178833 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 : 16 time used for this insertion : 0.013843774795532227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.011904716491699219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.013044595718383789 save missing photos in datou_result : time spend for datou_step_exec : 12.268139839172363 time spend to save output : 0.04387927055358887 total time spend for step 1 : 12.312019109725952 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.56user 3.18system 0:17.53elapsed 84%CPU (0avgtext+0avgdata 139572maxresident)k 0inputs+5720outputs (2major+196923minor)pagefaults 0swaps