IcarusWizard / PixelwiseRegression

PyTorch release for paper "Pixel-wise Regression: 3D Hand Pose Estimation via Spatial-form Representation and Differentiable Decoder"
MIT License
34 stars 2 forks source link

ICVL train code have a question #10

Open zc-zzu opened 1 year ago

zc-zzu commented 1 year ago

NameError: name 'img' is not defined! The img on line 216 of the training code is not declared。How to solve it?

IcarusWizard commented 1 year ago

There could be something wrong about your data setup, please make sure that your Data/ICVL folder look like this before run train.py:

├── icvl_center_test.txt
├── icvl_center_train.txt
├── icvl_train_list.txt
├── Testing
│   ├── Depth
│   ├── test_seq_1.txt
│   └── test_seq_2.txt
├── Testing.tar.gz
├── test.txt
├── Training
│   ├── Depth
│   └── labels.txt
├── Training.tar.gz

In case you already have empty train.txt and val.txt, please remove them.

zc-zzu commented 1 year ago

I am very excited to receive your reply. Your reply is of great help to me, but it reported a new error. image For the ICVL data set, there is no val validation set. Is it because of this problem?Looking forward to your reply!

IcarusWizard commented 1 year ago

That is wired. Can you check two things:

  1. Has the default parameter for the ICVL dataset changed?
  2. Is the image in the dataset correct? For example, if you open the file, are there any hands on it?