未验证 提交 1abb4b8b 编写于 作者: W Wenyu 提交者: GitHub

pop str im_file (#4299)

上级 bceb6e4e
......@@ -204,6 +204,8 @@ class DecodeCache(BaseOperator):
sample['im_shape'] = np.array(im.shape[:2], dtype=np.float32)
sample['scale_factor'] = np.array([1., 1.], dtype=np.float32)
sample.pop('im_file')
return sample
@staticmethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册