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 : 1145781 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/1145781/ 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.3364663124084473 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 19:27: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/1752773246_1145781_1372335143_67ce379a06689b7077586fd832753d18.jpg resize: (1080, 1632) 1372335143 -2.0504322137152333 treat image : temp/1752773246_1145781_1372335140_a55ad62889094f195c131c9a7c525845.jpg resize: (1080, 1632) 1372335140 -2.0323859213531925 treat image : temp/1752773246_1145781_1372335138_f2462e7655ab82b894ba027b3b010be0.jpg resize: (1080, 1632) 1372335138 -2.0470158331805064 treat image : temp/1752773246_1145781_1372335136_c5b60ef6a15954a1f493ccade7b108f4.jpg resize: (1080, 1632) 1372335136 -2.037315171651517 treat image : temp/1752773246_1145781_1372335123_5163fe0a9ddb32c9325a059d9e71d952.jpg resize: (1080, 1632) 1372335123 -2.0197697802561163 treat image : temp/1752773246_1145781_1372335120_c7f9a22e6419a6dba7764a6e2ecdb38d.jpg resize: (1080, 1632) 1372335120 -2.03494984477508 treat image : temp/1752773246_1145781_1372335116_acd78f9250a4e6c602ac727630e9e046.jpg resize: (1080, 1632) 1372335116 -2.028084341583561 treat image : temp/1752773246_1145781_1372335114_651807816e0066eb634b7fe74a18f13b.jpg resize: (1080, 1632) 1372335114 -2.0386525876419928 treat image : temp/1752773246_1145781_1372335111_92442b062bb1b15f75ee7d0ca50bbe50.jpg resize: (1080, 1632) 1372335111 -2.036461991673973 treat image : temp/1752773246_1145781_1372335107_30219c692e4fcaba125db7cb8354a4a6.jpg resize: (1080, 1632) 1372335107 -2.0390188859031877 treat image : temp/1752773246_1145781_1372335085_741699450e811bed4a017ce8eee15f0b.jpg resize: (1080, 1632) 1372335085 -2.0311524362725346 treat image : temp/1752773246_1145781_1372335083_3e14d160d6f6688ad1319ba166872a62.jpg resize: (1080, 1632) 1372335083 -2.0248682195452297 treat image : temp/1752773246_1145781_1372335082_c383d60431af31b6426f52188743323e.jpg resize: (1080, 1632) 1372335082 -2.0169065660612446 treat image : temp/1752773246_1145781_1372335081_226543bd1063472ad826076f3bd0171c.jpg resize: (1080, 1632) 1372335081 -2.0235852616442767 treat image : temp/1752773246_1145781_1372335079_b880658e33e2ad9ca29e87505dd791af.jpg resize: (1080, 1632) 1372335079 -2.037421147572343 treat image : temp/1752773246_1145781_1372335077_d79b9c04b2d46ae6032ad8d598b7c143.jpg resize: (1080, 1632) 1372335077 -2.0168508208986724 treat image : temp/1752773246_1145781_1372335055_20374a8d68361858baffe48a917d7c28.jpg resize: (1080, 1632) 1372335055 -2.037482165822403 treat image : temp/1752773246_1145781_1372335051_6364222a9c129ce6baae398c39989c37.jpg resize: (1080, 1632) 1372335051 -2.0226175886093016 treat image : temp/1752773246_1145781_1372335048_5ded618d7b599717f8702791607af126.jpg resize: (1080, 1632) 1372335048 -2.0260996666228164 treat image : temp/1752773246_1145781_1372335047_04a309f61b76b0c47da1b957cd268c4e.jpg resize: (1080, 1632) 1372335047 -2.036232865447839 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.011834859848022461 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.012947320938110352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01833653450012207 save missing photos in datou_result : time spend for datou_step_exec : 15.781954050064087 time spend to save output : 0.04784822463989258 total time spend for step 1 : 15.82980227470398 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 4.14system 0:21.32elapsed 85%CPU (0avgtext+0avgdata 137228maxresident)k 80inputs+6264outputs (3major+253874minor)pagefaults 0swaps