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

Issues in Pascal Context GT Visualization #5407

Open
unknownpersonai opened this issue Dec 17, 2024 · 0 comments
Open

Issues in Pascal Context GT Visualization #5407

unknownpersonai opened this issue Dec 17, 2024 · 0 comments

Comments

@unknownpersonai
Copy link

Bug Report: Issues with Pascal Context GT Visualization

Steps to Reproduce the Bug:

Run the command tools/visualize_data.
Observe that visualize.py in the utils folder uses an outdated numpy dtype, leading to overflow issues.
Code and Changes:
Refer to the details in the failed pull request: #5391.

Observation:

The visualization incorrectly displays the image. For instance:
The class ID should be train (359) but overflows and maps to fly (103) due to the calculation 359 - 256 = 103.
Expected Behavior:
Handle more than 256 classes correctly without overflow.
(Note: Pascal Context contains 459 classes, causing the overflow issue.)

Environment:

Python: 3.10
Numpy: 1.22.4
PyTorch: 1.13.1
Additional Notes:
Simplify the reproduction steps to avoid dependencies on private datasets. Ensure the d type supports the required range of class IDs.

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