aboulch/normals_HoughCNN

Unprotected error in call to Lua API

Closed this issue · 1 comments

Hello,

when I try to run prediction using 3s and 5s models on the test dataset (cube), it fails with the following message:

TORCH --> Done
  --> create tree
Estimate proba
  -->  Iterate
PANIC: unprotected error in call to Lua API (inconsistent tensor size at ~/Work/workspace/torch/pkg/torch/lib/TH/generic/THTensorMath.c:601)

I am using CUDA 8.0 and torch 7 with cudnn 8.0.

When I am using 1s model, it seems to work fine. Same happens with other datasets as well.

Best

When specifying number of scales correctly, the issue does not persist. I added PR for this issue to parse number of scales correctly.