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 while testing/training #3

Open
AlamiMejjati opened this issue Feb 16, 2018 · 2 comments
Open

Error while testing/training #3

AlamiMejjati opened this issue Feb 16, 2018 · 2 comments

Comments

@AlamiMejjati
Copy link

Hello,
While i try to run the model in test mode using the pre-trained model i always get an error at some point during testing (with num_shards=16 for test, this error happens after treating the first 400 points). The i receive this error:

flat indices[34, :] = [32, 26, 6] does not index into param (shape: [32,32,14]).
[[Node: map_3/while/GatherNd = GatherNd[Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](map_3/while/TensorArrayReadV3_3, map_3/while/stack_1)]]

I tried to debug this with not much success, would you happen to know what is the problem?

@melonwan
Copy link
Owner

Hi,
I've met with this error when running on CPU version. Probably it is due to parallel function. If I change to use GPU, there is no such errors.

@AlamiMejjati
Copy link
Author

Hey,
This worked for me. Thank you very much for the prompt answer.
Best wishes

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

2 participants