提交 999b9ff5 编写于 作者: L LielinJiang

update comment

上级 76876f52
...@@ -297,7 +297,9 @@ class Permute(object): ...@@ -297,7 +297,9 @@ class Permute(object):
""" """
def __init__(self, mode="CHW"): def __init__(self, mode="CHW"):
assert mode in ["CHW"], "unsupported mode: {}".format(mode) assert mode in [
"CHW"
], "Only support 'CHW' mode, but received mode: {}".format(mode)
self.mode = mode self.mode = mode
def __call__(self, img): def __call__(self, img):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册