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

Bug: Input is in RGB format, but augment_hsv() assumes BGR format #201

Open
RahulRewale opened this issue Nov 12, 2023 · 0 comments
Open

Comments

@RahulRewale
Copy link

In the __getitem__() function in lib/dataset/AutoDriveDataset.py, we read an image and then convert from BGR to RGB. This image is then passed to augment_hsv() in lib/utils/augmentations.py file. Here, we convert from BGR to HSV and then HSV to BGR, but the input to the function is in RGB format.

RahulRewale added a commit to RahulRewale/YOLOP that referenced this issue Dec 4, 2023
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

1 participant