denseReg icon indicating copy to clipboard operation
denseReg copied to clipboard

'crop_from_uvd_pose' not found

Open MeteorsHub opened this issue 7 years ago • 3 comments

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

MeteorsHub avatar Apr 14 '18 09:04 MeteorsHub

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.

melonwan avatar Apr 16 '18 12:04 melonwan

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

MeteorsHub avatar Apr 16 '18 13:04 MeteorsHub

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

melonwan avatar Apr 19 '18 09:04 melonwan