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 with Visualizing Ground Truth Data in Pascal Context #5413

Closed
Faris468 opened this issue Dec 22, 2024 · 2 comments
Closed

Issues with Visualizing Ground Truth Data in Pascal Context #5413

Faris468 opened this issue Dec 22, 2024 · 2 comments
Labels
invalid/unrelated unrelated to this project or invalid type of issues needs-more-info More info is needed to complete the issue

Comments

@Faris468
Copy link

Run the following command:
bash
Copy code
python tools/visualize_data.py
The script uses visualize.py in the utils folder. The issue lies in the outdated numpy dtype configuration.
Detailed Issue:

The visualization assigns an incorrect class due to overflow:
Expected: train (id: 359)
Result: fly (id: 103) from the calculation 359 - 256 = 103.
The tool fails to handle datasets with more than 256 classes, such as Pascal Context with 459 classes.
Expected Behavior:
The tool should handle datasets with more than 256 classes without encountering overflow issues.

Environment:

Python Version: 3.10
Numpy Version: 1.22.4
Torch Version: 1.13.1
Fix Proposal:
Update the numpy dtype in visualize.py to support a higher class range, such as int32 or a compatible type.
Ensure compatibility with all class ranges in Pascal Context.****

@github-actions github-actions bot added the needs-more-info More info is needed to complete the issue label Dec 22, 2024
Copy link

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template.
The following information is missing: "Instructions To Reproduce the Issue and Full Logs";

Copy link

Requested information was not provided in 7 days, so we're closing this issue.

Please open new issue if information becomes available. Otherwise, use github discussions for free-form discussions.

@github-actions github-actions bot added the invalid/unrelated unrelated to this project or invalid type of issues label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid/unrelated unrelated to this project or invalid type of issues needs-more-info More info is needed to complete the issue
Projects
None yet
Development

No branches or pull requests

1 participant