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

'crop_from_uvd_pose' not found #7

Open
MeteorsHub opened this issue Apr 14, 2018 · 3 comments
Open

'crop_from_uvd_pose' not found #7

MeteorsHub opened this issue Apr 14, 2018 · 3 comments

Comments

@MeteorsHub
Copy link

MeteorsHub commented Apr 14, 2018

When using

python model/hourglass_um_crop_tiny.py --dataset 'icvl' --batch_size 3 --num_stack 2 --num_fea 128 --debug_level 2 --is_train False

it seems to be an import error

from data.preprocess import crop_from_xyz_pose, crop_from_uvd_pose, crop_from_bbx, center_of_mass
ImportError: cannot import name crop_from_uvd_pose

And there is no crop_from_uvd_pose in data.preprocess indeed. It is in file 'data/icvl.py'.
How to solve it

@melonwan
Copy link
Owner

Hi, you could just delete crop_from_uvd_pose, it doesn't impact the later process. Thank you for informing this bug and I've updated accordingly.

@MeteorsHub
Copy link
Author

Thank you for the work. And if you don't mind you could update some code in readme.md like:

  • ./exp/scripts/fetch_icvl_models.sh to ./exp/scripts/fetch_icvl_model.sh
  • --fea_num 128 to --num_fea 128

@melonwan
Copy link
Owner

thanks a lot for informing me. Those bugs have been fixed.

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