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

Error during evalution in the example LeNetCifar10.kt #3

Closed
zaleslaw opened this issue Jun 9, 2020 · 1 comment
Closed

Error during evalution in the example LeNetCifar10.kt #3

zaleslaw opened this issue Jun 9, 2020 · 1 comment

Comments

@zaleslaw
Copy link
Collaborator

zaleslaw commented Jun 9, 2020

Exception in thread "main" java.lang.IllegalArgumentException: buffer with 1536000 elements is not compatible with a Tensor with shape [1000, 32, 32, 3]
at org.tensorflow.Tensor.incompatibleBuffer(Tensor.java:580)
at org.tensorflow.Tensor.allocateForBuffer(Tensor.java:295)
at org.tensorflow.Tensor.create(Tensor.java:188)
at api.keras.Sequential.evaluate(Sequential.kt:382)
at examples.keras.cifar10.LeNetCifar10Kt.main(LeNetCifar10.kt:97)
at examples.keras.cifar10.LeNetCifar10Kt.main(LeNetCifar10.kt)

@zaleslaw
Copy link
Collaborator Author

Fixed

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

No branches or pull requests

1 participant