Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问关于算法输入是RGB格式还是BGR格式? #12

Closed
zhuMingXu opened this issue Aug 10, 2023 · 2 comments
Closed

请问关于算法输入是RGB格式还是BGR格式? #12

zhuMingXu opened this issue Aug 10, 2023 · 2 comments

Comments

@zhuMingXu
Copy link

python torch版本,在dataload里面,将数据转换为了RGB格式。

但是在该版本的C++实现里面,首先经过decode_jpeg 得到了RGB_HWC格式,然后调用了函数convert_RGBHWC_to_BGRCHW转换为BGRCHW格式???所以最终输入的是BGR格式,这是bug吗?

@zhuMingXu
Copy link
Author

企业微信截图_16916552891668

@zbl-96
Copy link

zbl-96 commented Mar 28, 2024

在bevdet库里是使用了pil open为rgb 然后又使用了mmlabNormalize转换通道到bgr,所以这里是bgr? 如果我的理解错误请立即指正我 HuangJunJie2017/BEVDet#274 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants