-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Object Detection] Gluoncv SSD support on CPU #2353
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
1da5012
Refactor NMS
1eb27a8
Avoid using function call for hybrid frontend
1e2cdb5
Modify nms
d892867
Add box_nms
c19526b
Add test for get_valid_counts
9e0eee7
Add missing operators
037ca23
Add id_index to box_nms op
8f9e9e2
Add l2_normalize to from_mxnet
5c5e6f7
Modify SSD tutorial
3054af5
Fix tutorial
ef21b02
Relay support
31f0927
Add more ops to from_mxnet
fb43612
Support multibox op with hybrid script
717e61c
Fix slice_axis relay register issue
b9681ee
Add get_valid_counts relay test
e277a55
Fix multibox_transform_loc
ef00b7f
Fix relay from_mxnet
fa89a2a
Fix l2_normalize
925c140
Fix lint
6819dc3
Add cuda schedule for get_valid_counts
8eaff5c
Fix tutorial
7423762
Fix ctx_list
b3c8a7c
Add install gluoncv
986c4f7
Disable box_nms in frontend test
e7df94c
Fix test get_valid_counts numpy result
45b6aac
Rename ssd tutorial
26ece34
Fix rebase
2f8aef8
Refactor nms
d30be86
Rollback nnvm
6b1fd7a
Refactor relay nms
42571cf
Add max_output_size arg
f8fecec
Make return_indices optional
11c8bba
Minor fix
908eedb
Resolve conflict
9743f15
Rename topk to top_k
4bd6fec
Fix example code
d1e95f9
Fix lint
292130d
Minor fix
fb94ffe
Remove contrib_slice_axis
5c0cee9
Resolve conflict
28d479a
Address minor comments
c2e02e4
Move tutorial
d20024c
Resolve conflict
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -315,4 +315,3 @@ def test_forward_minimum(): | |
test_forward_slice() | ||
test_forward_maximum() | ||
test_forward_minimum() | ||
|
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Let us deliberate on the choice of the parameter name. In particular why the name
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.
iou_threshold is the threshold of intersection over union(IoU). This is different from mxnet API, but I think it might be easier to understand in object detection context? @zhreshold
You are right. id_index in fact means axis. I think we can change it to id_axis.
do_rearrange is whether to move all invalid boxed to the bottom. Maybe we can change it to invalid_to_bottom to be more meaningful?
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.
I do not have a strong opinion on the naming choices, but perhaps it would be helpful to bring several people who are involved. Mainly because API relates to backward compatibility and we want to be careful. How about a quick RFC?
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.
#2535