pose-hg-train icon indicating copy to clipboard operation
pose-hg-train copied to clipboard

Error when running the pre-trained model

Open ShaminiKoravuna opened this issue 4 years ago • 0 comments

I was trying to generate the final predictions using the pre-trained model on nvidia-docker and I'm getting the following error:

# th main.lua -expID final-preds -finalPredictions -nEpochs 0 -loadModel /app/src/umich-stacked-hourglass.t7
Saving everything to: /root/pose-hg-train/exp/mpii/final-preds
Input is a tensor with dimensions: 3 x 256 x 256
Output is a table
Entry 1 is a tensor with dimensions: 16 x 64 x 64
Entry 2 is a tensor with dimensions: 16 x 64 x 64
Entry 3 is a tensor with dimensions: 16 x 64 x 64
Entry 4 is a tensor with dimensions: 16 x 64 x 64
Entry 5 is a tensor with dimensions: 16 x 64 x 64
Entry 6 is a tensor with dimensions: 16 x 64 x 64
Entry 7 is a tensor with dimensions: 16 x 64 x 64
Entry 8 is a tensor with dimensions: 16 x 64 x 64
# of training images: 25925
# of validation images: 2958
==> Loading model from: /app/src/umich-stacked-hourglass.t7
==> Converting model to CUDA
FATAL THREAD PANIC: (read) /root/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <pose.Dataset>
FATAL THREAD PANIC: (read) /root/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <pose.Dataset>
Segmentation fault (core dumped)

Can anyone help me out with this ?

Thanks in advance!!!

ShaminiKoravuna avatar Jul 22 '19 12:07 ShaminiKoravuna