未验证 提交 8740eb2a 编写于 作者: J JiaQi Xu 提交者: GitHub

Update ssd_training.py

上级 76f4f7e3
......@@ -116,7 +116,7 @@ class Generator(object):
self.image_size = image_size
self.num_classes = num_classes-1
def get_random_data(self, annotation_line, input_shape, random=True, jitter=.1, hue=.1, sat=1.1, val=1.1, proc_img=True):
def get_random_data(self, annotation_line, input_shape, jitter=.1, hue=.1, sat=1.1, val=1.1):
'''r实时数据增强的随机预处理'''
line = annotation_line.split()
image = Image.open(line[0])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册