-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dimension check in ssd_random_crop (#5240)
ssd_random_crop wasn't checking dimensions of bboxes argument, leading to out of bounds memory accesses. In this PR I add this check and adjust an invalid checkpointing test. Signed-off-by: Szymon Karpiński <skarpinski@nvidia.com> Co-authored-by: Michał Zientkiewicz <mzient@gmail.com>
- Loading branch information
1 parent
27ba04c
commit dd19994
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters