hughw19 / NOCS_CVPR2019

[CVPR2019 Oral] Normalized Object Coordinate Space for Category-Level 6D Object Pose and Size Estimation on Python3, Tensorflow, and Keras
https://geometry.stanford.edu/projects/NOCS_CVPR2019/
Other
450 stars 72 forks source link

What's the version of matplotlib used in the code? #50

Closed YanjieZe closed 3 years ago

YanjieZe commented 3 years ago

Hi, Mr.Wang

When I simply run the training code:

python train.py

I encounter this problem:

from matplotlib.mlab import PCA
ImportError: cannot import name 'PCA'

My matplotlib's version is 3.3.4.

I didn't see the package's version in README, and I have seached on stackoverflow but have no solution yet. Could you provide matplotlib's version you use in this code, to let me know whether the problem comes from the version or something else?

Thanks in advance!!!

Y.J. Ze

bf0724 commented 3 years ago

"from sklearn.decomposition import PCA" replace "from matplotlib.mlab import PCA"