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 invalid argument of clip when running ssd inference #1026

Merged
merged 1 commit into from
Nov 5, 2019

Conversation

wuxun-zhang
Copy link
Collaborator

@pengzhao-intel @xinyu-intel @zhreshold

This PR is to make the default value of clip in NormalizedBoxCenterDecoder() aligned with the value in MXNet (defined in bounding_box-inl.h#L939, introduced by PR#16215) .

Before, when running ssd inference, there will be an error, like below:

>>>  python eval_ssd.py --network=mobilenet1.0 --data-shape=512 --batch-size=1
......
mxnet.base.MXNetError: Invalid Parameter format for clip expect float but value='None', in operator _contrib_box_decode(name="", format="center", std2="0.2", clip="None", std3="0.2", std1="0.1", std0="0.1")

@mli
Copy link
Member

mli commented Nov 4, 2019

Job PR-1026-1 is done.
Docs are uploaded to http://gluon-vision-staging.s3-website-us-west-2.amazonaws.com/PR-1026/1/index.html
Code coverage of this PR: pr.svg vs. Master: master.svg

@zhreshold zhreshold merged commit 0a84bc9 into dmlc:master Nov 5, 2019
@wuxun-zhang wuxun-zhang deleted the fix_clip branch November 6, 2019 00:36
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.

3 participants