Skip to content

Conversation

@bgat
Copy link

@bgat bgat commented Sep 12, 2016

When feeding a single matrix of inputs to cnnff, i.e. running "live data" through a network that has already been trained, the size() command drops the third parameter in its result because the input looks like two-dimensional data rather than a single instance of three-dimensional data. This missing parameter then triggers an error.

Adding postpad() forces the third parameter to a '1' if size() doesn't provide a different value.

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.

1 participant