提交 bcc88db6 编写于 作者: G gaotingquan 提交者: Tingquan Gao

fix: fix channel order to rgb

上级 4091aca7
...@@ -102,6 +102,7 @@ def main(args): ...@@ -102,6 +102,7 @@ def main(args):
) )
continue continue
else: else:
img = img[:, :, ::-1]
for ops in preprocess_ops: for ops in preprocess_ops:
img = ops(img) img = ops(img)
img = np.array(img) img = np.array(img)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册