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

fix polygon loader test #385

Merged
merged 2 commits into from
Jun 25, 2024
Merged

fix polygon loader test #385

merged 2 commits into from
Jun 25, 2024

Conversation

benjijamorris
Copy link
Contributor

What does this PR do?

  • fix seed to prevent random image from being all-background
  • use background as 1, generated object as 0
  • threshold image before iou

Fixes #<issue_number>

Before submitting

  • Did you make sure title is self-explanatory and the description concisely explains the PR?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you test your PR locally with pytest command?
  • Did you run pre-commit hooks with pre-commit run -a command?

Did you have fun?

Make sure you had fun coding 🙃

@benjijamorris benjijamorris requested a review from saeliddp May 20, 2024 18:57
@benjijamorris benjijamorris merged commit 27f1075 into main Jun 25, 2024
4 of 6 checks passed
@benjijamorris benjijamorris deleted the bugfix/polygon_loader_test branch June 25, 2024 16:48
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

Successfully merging this pull request may close these issues.

2 participants