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 : 3966342 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 : 3097>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3966342/ 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 : 2.884206533432007 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 Mon May 12 21:32:31 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/1747078348_3966342_1357723068_f14b6a7dcb1df5dcd1a362d54f69dacd.jpg resize: (1080, 1632) 1357723068 -5.72087634264925 treat image : temp/1747078348_3966342_1357645829_f4283d86fcf5425084d32e6a9bb64500.jpg resize: (1080, 1632) 1357645829 -2.051227199903794 treat image : temp/1747078348_3966342_1357645824_f20f6e11a709004b378f4435dd1fe8e3.jpg resize: (1080, 1632) 1357645824 -0.9151535226786598 treat image : temp/1747078348_3966342_1357645046_000a44b96d47f75ebfcd979b8cefb330.jpg resize: (1080, 1632) 1357645046 -6.124987700015803 treat image : temp/1747078348_3966342_1357645043_20c95b4b32173e7c80ae68dafbcf4d88.jpg resize: (1080, 1632) 1357645043 -3.649801751470627 treat image : temp/1747078348_3966342_1357645040_f18e9a2cd223df10269bf26b9b234c9a.jpg resize: (1080, 1632) 1357645040 -5.773846536426822 treat image : temp/1747078348_3966342_1357645037_a130061fa2c5d782191bbc18004efe37.jpg resize: (1080, 1632) 1357645037 -5.253100973634742 treat image : temp/1747078348_3966342_1357645034_5b18303047d11c10b63e7732835f85c7.jpg resize: (1080, 1632) 1357645034 -5.501139685854686 treat image : temp/1747078348_3966342_1357645032_7a1993e295e4ff14eebdb5d77c978168.jpg resize: (1080, 1632) 1357645032 -5.654283210741824 treat image : temp/1747078348_3966342_1357644797_942ac77dd45f5d08cf906be01dbacc9e.jpg resize: (1080, 1632) 1357644797 -1.6929788654418871 treat image : temp/1747078348_3966342_1357644794_86030f98fd30431d12d238919ef3e945.jpg resize: (1080, 1632) 1357644794 -6.056976903376294 treat image : temp/1747078348_3966342_1357644790_adcd10768d8189c8ad32f0569f1499e2.jpg resize: (1080, 1632) 1357644790 -5.487772562054281 treat image : temp/1747078348_3966342_1357644762_99a146e2f01462dba8dfd080a59edf85.jpg resize: (1080, 1632) 1357644762 -5.139069527974978 treat image : temp/1747078348_3966342_1357644760_f180a12296a273b3fa0edbf6d6b167a6.jpg resize: (1080, 1632) 1357644760 -6.153757849311059 treat image : temp/1747078348_3966342_1357644757_0403a96f83419bd1c244a5344cdfdf0d.jpg resize: (1080, 1632) 1357644757 -5.147202637384391 treat image : temp/1747078348_3966342_1357644754_456459e021e61a546fd1871902f5085a.jpg resize: (1080, 1632) 1357644754 -5.555334324486584 treat image : temp/1747078348_3966342_1357644751_5a74af7692dad3a6d75995d4a2d08332.jpg resize: (1080, 1632) 1357644751 -5.252839372418791 treat image : temp/1747078348_3966342_1357644749_52361862b3d78245df8c2a3dd14e2fcf.jpg resize: (1080, 1632) 1357644749 -2.2576882067178627 treat image : temp/1747078348_3966342_1357644258_25f069cd43a5bed0df999ce66dd15ddd.jpg resize: (1080, 1632) 1357644258 -4.288495587952528 treat image : temp/1747078348_3966342_1357644104_e6043e078ec9b31d8685422a3290dbad.jpg resize: (1080, 1632) 1357644104 -1.7320367180481822 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.012440204620361328 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.012337446212768555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014955759048461914 save missing photos in datou_result : time spend for datou_step_exec : 18.317012310028076 time spend to save output : 0.046201467514038086 total time spend for step 1 : 18.363213777542114 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 6.42system 0:24.74elapsed 85%CPU (0avgtext+0avgdata 142288maxresident)k 1864inputs+9936outputs (53major+263704minor)pagefaults 0swaps