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 : 1174836 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 : 748>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/1174836/ 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.198213577270508 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 07:57: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/1747029449_1174836_1357602994_a56ec9a5faf1d3dea5d2ca6a6aacfe52.jpg resize: (1080, 1632) 1357602994 -1.4391988337982293 treat image : temp/1747029449_1174836_1357602992_b2693527781d704066dfe61051631033.jpg resize: (1080, 1632) 1357602992 -2.3659655692451227 treat image : temp/1747029449_1174836_1357602968_89fa3f0a6d3376f5aac9dcb4b128abba.jpg resize: (1080, 1632) 1357602968 -2.9911273735767794 treat image : temp/1747029449_1174836_1357602964_e2ac7aae224fc2e4f06bac8d36fb6003.jpg resize: (1080, 1632) 1357602964 -5.801519500523465 treat image : temp/1747029449_1174836_1357602960_139c4716f5c8831562ccb7c963f3b094.jpg resize: (1080, 1632) 1357602960 -5.958479003407005 treat image : temp/1747029449_1174836_1357602958_3a161ca6de6dd130aef150dcbae4f6c5.jpg resize: (1080, 1632) 1357602958 -5.6918410245049635 treat image : temp/1747029449_1174836_1357602951_a8751b0483e7df46899c8e1b10c712a5.jpg resize: (1080, 1632) 1357602951 -5.827537564346158 treat image : temp/1747029449_1174836_1357602947_7e7a9e43c303c06c0c81e7944b28d9b2.jpg resize: (1080, 1632) 1357602947 -2.7295430438727375 treat image : temp/1747029449_1174836_1357602905_12cd3692f7c083f38ef9a9e52d994f0f.jpg resize: (1080, 1632) 1357602905 -1.9896667539709205 treat image : temp/1747029449_1174836_1357602903_f5627a97b929920c0fcd7bb11097babf.jpg resize: (1080, 1632) 1357602903 -1.9081591843287988 treat image : temp/1747029449_1174836_1357602898_858ff9ee46a7aec23d5eb79768a21518.jpg resize: (1080, 1632) 1357602898 -3.1846167253759305 treat image : temp/1747029449_1174836_1357602894_6919ef5bddf1b7d1b71708b76548db4a.jpg resize: (1080, 1632) 1357602894 -5.501734761814451 treat image : temp/1747029449_1174836_1357602869_5b8854915f697fce102677e05699d615.jpg resize: (1080, 1632) 1357602869 -6.040926961753216 treat image : temp/1747029449_1174836_1357602867_5894c9a1f7f9a9d20629a1c5e540aad8.jpg resize: (1080, 1632) 1357602867 -5.700478567894268 treat image : temp/1747029449_1174836_1357602865_f519d3977270623f50bbec1ab3ebc4f1.jpg resize: (1080, 1632) 1357602865 -5.52666226296344 treat image : temp/1747029449_1174836_1357602863_60d47b86180cac50563ab2918274498c.jpg resize: (1080, 1632) 1357602863 -5.318282163231405 treat image : temp/1747029449_1174836_1357602860_e58e4c3e6ee9cbdfbb4d1c5dff2240aa.jpg resize: (1080, 1632) 1357602860 -4.116110962634131 treat image : temp/1747029449_1174836_1357602785_e230df5aedadb5a93f7ef4dd3759db65.jpg resize: (1080, 1632) 1357602785 -5.427429947744092 treat image : temp/1747029449_1174836_1357602782_50f83e14da05d155979b622b627386a4.jpg resize: (1080, 1632) 1357602782 -5.644017563475735 treat image : temp/1747029449_1174836_1357602771_a3e739d2dfcfe6cd42c28e71c002dce7.jpg resize: (1080, 1632) 1357602771 -3.0809732119805004 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.01276397705078125 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.01192331314086914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01712942123413086 save missing photos in datou_result : time spend for datou_step_exec : 15.821096181869507 time spend to save output : 0.0464475154876709 total time spend for step 1 : 15.867543697357178 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 3.90system 0:21.72elapsed 86%CPU (0avgtext+0avgdata 139356maxresident)k 40inputs+9488outputs (1major+256764minor)pagefaults 0swaps