Nicholasli1995 / EvoSkeleton

Official project website for the CVPR 2020 paper (Oral Presentation) "Cascaded deep monocular 3D human pose estimation wth evolutionary training data"
https://arxiv.org/abs/2006.07778
MIT License
333 stars 44 forks source link

AttributeError: module 'libs.dataset.h36m' has no attribute 'data_utils' #28

Closed justintiger closed 3 years ago

justintiger commented 3 years ago

Hi

Thx for this model. but i always get this error. Do you know whats the problem?

Nicholasli1995 commented 3 years ago

It looks like a path problem. Can you show your running command, directory and full error message?

Hi

Thx for this model. but i always get this error. Do you know whats the problem?

justintiger commented 3 years ago

It looks like a path problem. Can you show your running command, directory and full error message?

Hi Thx for this model. but i always get this error. Do you know whats the problem?

(base) ihomelab@ihomelab-GPU-01:/mnt/sdb1/pose_estimation/3D_pose_estimation/EvoSkeleton/examples$ conda activate evoskeleton (evoskeleton) ihomelab@ihomelab-GPU-01:/mnt/sdb1/pose_estimation/3D_pose_estimation/EvoSkeleton/examples$ python inference.py Traceback (most recent call last): File "inference.py", line 9, in from libs.dataset.h36m.data_utils import unNormalizeData File "../libs/dataset/h36m/data_utils.py", line 15, in import libs.utils.utils as utils File "../libs/utils/utils.py", line 4, in import libs.dataset.h36m.data_utils as data_utils AttributeError: module 'libs.dataset.h36m' has no attribute 'data_utils'

justintiger commented 3 years ago

It looks like a path problem. Can you show your running command, directory and full error message?

Hi Thx for this model. but i always get this error. Do you know whats the problem?

I have another question. Can this model give the 3D keypoints by using only images without 2D keypoints for the samples images?

Nicholasli1995 commented 3 years ago

It looks like a path problem. Can you show your running command, directory and full error message?

Hi Thx for this model. but i always get this error. Do you know whats the problem?

I have another question. Can this model give the 3D keypoints by using only images without 2D keypoints for the samples images?

Hi the problem is caused by a cyclic import bug introduced by a recent update. I have fixed it and you can pull the code and try again.

The lifting model need to has 2D keypoints as input. Images alone are not enough. However, you may use any available open-source 2D pose detector (openpose, SH, CPN and others... ) to get 2D keypoints. We have also released a 2D pose detector trained on H36M (see https://github.com/Nicholasli1995/EvoSkeleton/blob/master/docs/2DHPE.md).

Nicholasli1995 commented 3 years ago

Closing inactive issues. Re-open if you need further assistance.