Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Ignore classification outputs without corresponding label #682

Merged
merged 1 commit into from
Apr 18, 2016

Conversation

gheinrich
Copy link
Contributor

Since #628 DIGITS does not overwrite the number of outputs in the last fully-connected layer if it is already set to a value.
If the user accidentally specifies too large a num_output then inference will fail as reported on #678.
This change causes classification outputs to be ignored if there is no corresponding label.

close #678

Since NVIDIA#628 DIGITS does not overwrite the number of outputs in the last fully-connected layer if it is already set to a value.
If the user accidentally specifies too large a `num_output` then inference will fail as reported on NVIDIA#678.
This change causes classification outputs to be ignored if there is no corresponding label.

close NVIDIA#678
@lukeyeager lukeyeager merged commit 65b6ec6 into NVIDIA:master Apr 18, 2016
@gheinrich gheinrich deleted the dev/bug-678 branch May 24, 2016 11:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexError: list index out of range during single image inference [caffe]
2 participants