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

DL4J: Improve exception for invalid YOLO config #6584

Closed
AlexDBlack opened this issue Oct 15, 2018 · 1 comment

Comments

@AlexDBlack
Copy link
Contributor

commented Oct 15, 2018

New shape length doesn't match original length: [23660] vs [20280]. Original shape: [4, 30, 13, 13] New Shape: [4, 5, 7, 13, 13]

It seems to be a common error where users don't correctly size the last convolutional layer in their network before the YOLO layer. Currently, they get this obscure shape error. Better: an exception that tells them exactly what the likely cause is, and what they should do to fix it.

@AlexDBlack AlexDBlack added the DL4J label Oct 15, 2018

@AlexDBlack AlexDBlack self-assigned this Oct 16, 2018

AlexDBlack added a commit that referenced this issue Oct 16, 2018
AlexDBlack added a commit that referenced this issue Oct 16, 2018
Test fixes + YOLO2 validation usability improvement (#6597)
* #6591 ND4J test fixes

* #6584 YOLO exception message improvement
@lock

This comment has been minimized.

Copy link

commented Nov 15, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Nov 15, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant
You can’t perform that action at this time.