From bcc88db6e2b2972146e21a3b35a793e5820ca50e Mon Sep 17 00:00:00 2001 From: gaotingquan Date: Mon, 18 Oct 2021 09:35:37 +0000 Subject: [PATCH] fix: fix channel order to rgb --- deploy/hubserving/test_hubserving.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/hubserving/test_hubserving.py b/deploy/hubserving/test_hubserving.py index e5d2acaf..b778a828 100644 --- a/deploy/hubserving/test_hubserving.py +++ b/deploy/hubserving/test_hubserving.py @@ -102,6 +102,7 @@ def main(args): ) continue else: + img = img[:, :, ::-1] for ops in preprocess_ops: img = ops(img) img = np.array(img) -- GitLab