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

Neural network model throws an exception #43

Closed
tknawara opened this issue Apr 16, 2018 · 1 comment
Closed

Neural network model throws an exception #43

tknawara opened this issue Apr 16, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tknawara
Copy link
Owner

tknawara commented Apr 16, 2018

for some tweets the neural network model throw exceptions similar to the one here issue

Our full log.
processing of request: 'Mis matched lengths: [16] != [28]'. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler. java.lang.IllegalStateException: Mis matched lengths: [16] != [28] at org.nd4j.linalg.util.LinAlgExceptions.assertSameLength(LinAlgExceptions.java:40) at org.nd4j.linalg.api.ops.BaseTransformOp.<init>(BaseTransformOp.java:47) at org.nd4j.linalg.api.ops.impl.transforms.Set.<init>(Set.java:24) at org.nd4j.linalg.api.ndarray.BaseNDArray.assign(BaseNDArray.java:1267) at org.nd4j.linalg.api.ndarray.BaseNDArray.reshape(BaseNDArray.java:3753) at org.deeplearning4j.util.TimeSeriesUtils.reshape2dTo3d(TimeSeriesUtils.java:112) at org.deeplearning4j.nn.layers.recurrent.RnnOutputLayer.output(RnnOutputLayer.java:142) at org.deeplearning4j.nn.layers.BaseOutputLayer.activate(BaseOutputLayer.java:189) at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.activationFromPrevLayer(MultiLayerNetwork.java:789) at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.feedForwardToLayer

@MohamedElhawaty MohamedElhawaty self-assigned this Apr 30, 2018
@tknawara tknawara added the bug Something isn't working label Apr 30, 2018
@tknawara tknawara added this to To Do in sentiment-analysis via automation Apr 30, 2018
@tknawara tknawara moved this from To Do to In progress in sentiment-analysis Apr 30, 2018
@MohamedElhawaty
Copy link
Collaborator

FIXED 😎 🔥 😎

sentiment-analysis automation moved this from In progress to Done May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants