denseReg icon indicating copy to clipboard operation
denseReg copied to clipboard

Error while testing/training

Open AlamiMejjati opened this issue 8 years ago • 2 comments

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?

AlamiMejjati avatar Feb 16 '18 15:02 AlamiMejjati

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.

melonwan avatar Feb 16 '18 15:02 melonwan

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

AlamiMejjati avatar Feb 16 '18 15:02 AlamiMejjati