Skip to content

Comments

Fixed some ssd bugs.#3991

Merged
qingqing01 merged 5 commits intoPaddlePaddle:developfrom
Noplz:develop
Sep 11, 2017
Merged

Fixed some ssd bugs.#3991
qingqing01 merged 5 commits intoPaddlePaddle:developfrom
Noplz:develop

Conversation

@Noplz
Copy link
Contributor

@Noplz Noplz commented Sep 9, 2017

ssd confidence threshold 需要是浮点数,在confidence threshold过大的时候,detection output层会没有输出, output resize时候会报错。我觉得应该判断这种情况并返回一个全-1的output。

qingqing01
qingqing01 previously approved these changes Sep 11, 2017
resetOutput(numKept, 7);
} else {
MatrixPtr outV = getOutputValue();
outV = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to add comments in the Python API. It is useful for users to know the output can be null if there are no detection results.

@qingqing01 qingqing01 merged commit 0f05fde into PaddlePaddle:develop Sep 11, 2017
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