mks0601 / V2V-PoseNet_RELEASE

Official Torch7 implementation of "V2V-PoseNet: Voxel-to-Voxel Prediction Network for Accurate 3D Hand and Human Pose Estimation from a Single Depth Map", CVPR 2018
https://arxiv.org/abs/1711.07399
MIT License
377 stars 69 forks source link

Testing with Pre-trained Model and Data #25

Closed diealecel closed 5 years ago

diealecel commented 6 years ago

Hi, I've been trying to test the pre-trained ICVL model (from GitHub) with the ICVL data (linked from GitHub) and keep running into this error.

Found Environment variable CUDNN_PATH = /usr/local/cuda-8.0/lib64/libcudnn.so.5db: ICVL mode: test  
model loading...    
testing data loading... 
invalid frame in test set: 0    
==> testing:
/home/diego/research/torch/install/bin/luajit: invalid arguments: FloatTensor nil 
expected arguments: [*FloatTensor*] FloatTensor FloatTensor
stack traceback:
    [C]: at 0x7fb7dd940bd0
    [C]: in function 'cmul'
    ./data/ICVL/data.lua:46: in function 'pixel2world'
    util.lua:96: in function 'generate_cubic_input'
    test.lua:42: in function 'test'
    run_me.lua:78: in main chunk
    [C]: in function 'dofile'
    ...arch/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x00405d50

Any ideas what is going on? I haven't changed anything other than where the model, centers, and data are located.

mks0601 commented 6 years ago

The error comes from util.lua: 96th line. I think you should check you correctly load the depthimage.

diealecel commented 6 years ago

Thank you for such a prompt reply!

Ah, I realized that my .bin files weren't ready yet. I've fixed that and can now get results for the testing sets. However, I've noticed that I still receive this error after the dataset has been parsed through. Thus, I thought there might be some number in the codebase that expects more .bin files than there actually are.

I wondered if the testSz value in src/data/ICVL/data.lua had to do with it. In the ICVL testing set there are 702 entries. However, entering this number didn't change anything—it actually made it such that I could get no results. Do you know what could be causing this?

drt040312 commented 5 years ago

Hi ! I CAN NOT GET the dataset "ITOP Human Pose Dataset [link] [paper]",because I can't link to the "link" URL. Do I have any other path to get this data set?

LETMEY commented 5 years ago

@drt040312 Hi! Have you got this dataset, please?

mks0601 commented 5 years ago

I updated link in README