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

idxs, preds, hms, inp = loadPreds('mpii/test-run/preds', true, false) doesn't work. #17

Open
yxchng opened this issue Nov 30, 2016 · 2 comments

Comments

@yxchng
Copy link

yxchng commented Nov 30, 2016

The following error pops up:

/home/yxchng/torch/install/share/lua/5.1/hdf5/group.lua:312: HDF5Group:read() - no such child 'heatmaps' for [HDF5Group 33554432 /]
stack traceback:
[C]: in function 'error'
/home/yxchng/torch/install/share/lua/5.1/hdf5/group.lua:312: in function 'read'
/home/yxchng/pose-hg-train/src/util/eval.lua:10: in function 'loadPreds'
[string "idxs, preds, hms, inp = loadPreds('mpii/test-..."]:1: in main chunk
[C]: in function 'xpcall'
/home/yxchng/torch/install/share/lua/5.1/itorch/main.lua:210: in function </home/yxchng/torch/install/share/lua/5.1/itorch/main.lua:174>
/home/yxchng/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll'
/home/yxchng/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll'
/home/yxchng/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex'
/home/yxchng/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start'
/home/yxchng/torch/install/share/lua/5.1/itorch/main.lua:389: in main chunk
[C]: in function 'require'
(command line):1: in main chunk
[C]: at 0x00405d50

@yxchng
Copy link
Author

yxchng commented Nov 30, 2016

How can I check the predictions? I don't quite understand why the predictions is a 16 x 5 matrix. I presume 16 means the 16 joints but what about the 5?

@anewell
Copy link
Collaborator

anewell commented Nov 30, 2016

The five values include: the x, y coordinates transformed to the original image space, the x, y values in the heatmap coordinate frame, and then the score of the detection. There is an additional flag to save the heatmaps if you want them "-saveHeatmaps", but to load predictions without them you should call loadPreds without the true flag for that second argument.

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