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 : 4104554 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 : 3032>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/4104554/ 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.234858751296997 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 May 21 20:12: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/1747851146_4104554_1360148918_df5bfc20d55638442107cda93ce51565.jpg resize: (1080, 1632) 1360148918 -5.090465280350555 treat image : temp/1747851146_4104554_1360148883_8cb2ea7937635a58c1f8dd8735a737ec.jpg resize: (1080, 1632) 1360148883 -2.3117505803752176 treat image : temp/1747851146_4104554_1360148600_fef52a5465dd016bed0fef85fe0a8cd3.jpg resize: (1080, 1632) 1360148600 -5.504421682785205 treat image : temp/1747851146_4104554_1360148568_719e999207a39d48c5c8248fddb1e04c.jpg resize: (1080, 1632) 1360148568 -5.599924442521339 treat image : temp/1747851146_4104554_1360148519_e092af7bdd4936f59a4997f5e6a9641f.jpg resize: (1080, 1632) 1360148519 -5.108098942426609 treat image : temp/1747851146_4104554_1360148490_850cda9e9d6a98e0ecccf3a2494945be.jpg resize: (1080, 1632) 1360148490 -5.322308200711129 treat image : temp/1747851146_4104554_1360148047_aeb131af041510725802e9ef51706fb6.jpg resize: (1080, 1632) 1360148047 -2.805890564935994 treat image : temp/1747851146_4104554_1360147970_95374307b8447e911395a4facad95f3f.jpg resize: (1080, 1632) 1360147970 -3.209673991142488 treat image : temp/1747851146_4104554_1360147913_83405363d534d51152e002477bff6b89.jpg resize: (1080, 1632) 1360147913 -4.394347842742924 treat image : temp/1747851146_4104554_1360147830_13a530a28419ba10fd3d17d0e8981ffd.jpg resize: (1080, 1632) 1360147830 -5.09090142045065 treat image : temp/1747851146_4104554_1360147781_9ee088614f17ce3bb14dd9cbc920ecae.jpg resize: (1080, 1632) 1360147781 -5.329384148079543 treat image : temp/1747851146_4104554_1360147714_edd809dbbfcb10ca40c7f5e9fb5ee4bc.jpg resize: (1080, 1632) 1360147714 -5.552398459765669 treat image : temp/1747851146_4104554_1360147693_7611043748a07eb6ffbbc9b4fb87deab.jpg resize: (1080, 1632) 1360147693 -5.941794005179256 treat image : temp/1747851146_4104554_1360147665_8b6f44fc9773a33a45075b6d44ad66c9.jpg resize: (1080, 1632) 1360147665 -5.253053630458026 treat image : temp/1747851146_4104554_1360147637_5a7179449a3ed433f3d492cb8f67179f.jpg resize: (1080, 1632) 1360147637 -5.355626495417759 treat image : temp/1747851146_4104554_1360147598_c91b6d247a785bf97524f5a226c38b67.jpg resize: (1080, 1632) 1360147598 -1.7136507031169983 treat image : temp/1747851146_4104554_1360147299_f06e84b2546bca75d3b4bf74ce27c307.jpg resize: (1080, 1632) 1360147299 -5.626455665421767 treat image : temp/1747851146_4104554_1360147266_7ea38ae8109ada1862b1cf49960da503.jpg resize: (1080, 1632) 1360147266 -5.76945168290856 treat image : temp/1747851146_4104554_1360147239_03ff9e27a60c87cf726c5e238827b85b.jpg resize: (1080, 1632) 1360147239 -5.667430408395866 treat image : temp/1747851146_4104554_1360147210_65f8f282f0191d77e76600bbe5883e2f.jpg resize: (1080, 1632) 1360147210 -5.466036273007529 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.013718605041503906 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.0167388916015625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019987821578979492 save missing photos in datou_result : time spend for datou_step_exec : 17.781948804855347 time spend to save output : 0.05502462387084961 total time spend for step 1 : 17.836973428726196 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 5.74system 0:21.77elapsed 92%CPU (0avgtext+0avgdata 138780maxresident)k 3624inputs+9632outputs (21major+183644minor)pagefaults 0swaps