-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
2177 Add max_roi_size to RandSpatialCrop #2178
Conversation
merge master
merge master
merge master
Signed-off-by: Nic Ma <[email protected]>
Signed-off-by: Nic Ma <[email protected]>
/black |
Signed-off-by: Nic Ma <[email protected]>
Do you think it would look nicer if, instead of adding |
Hi @rijobro , Thanks for your suggestion, but the problem is that:
What do you think? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Nic, I added some comments for this PR.
@Nic-Ma Ok makes sense. I suppose we can't change the behaviour of I'll approve but agree with @yiheng-wang-nv 's suggested changes. |
Hi @rijobro and @yiheng-wang-nv , Thanks for your review, I will try to update the PR to address all the comments. |
Signed-off-by: Nic Ma <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> Signed-off-by: Yaniel Cabrera <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]> Signed-off-by: Yaniel Cabrera <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]>
* [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] add max_roi_size Signed-off-by: Nic Ma <[email protected]> * [DLMED] optimize logic Signed-off-by: Nic Ma <[email protected]> * [DLMED] update according to comments Signed-off-by: Nic Ma <[email protected]>
Fixes #2177 .
Description
This PR added support to limit the max random crop size in
RandSpatialCrop
.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.