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

AttributeError: 'TriMesh' object has no attribute 'texture' #26

Open
GangHu1993 opened this issue Mar 28, 2019 · 3 comments
Open

AttributeError: 'TriMesh' object has no attribute 'texture' #26

GangHu1993 opened this issue Mar 28, 2019 · 3 comments

Comments

@GangHu1993
Copy link

/home/parallels/anaconda3/envs/lsfm/lib/python3.5/site-packages/menpo3d/io/input/mesh/base.py:53: UserWarning: texture was found, but no tcoords were recovered, reverting to an untextured mesh.
warnings.warn('texture was found, but no tcoords were recovered, '
Traceback (most recent call last):
File "/home/parallels/anaconda3/envs/lsfm/bin/lsfm", line 285, in
main(docopt(doc))
File "/home/parallels/anaconda3/envs/lsfm/bin/lsfm", line 269, in main
correspond_and_save(r, id_, path, verbose=verbose)
File "/home/parallels/anaconda3/envs/lsfm/bin/lsfm", line 76, in correspond_and_save
mesh = lio.import_mesh(path)
File "/home/parallels/anaconda3/envs/lsfm/lib/python3.5/site-packages/lsfm/io.py", line 41, in import_mesh
if mesh.texture.pixels.dtype != np.float64:
AttributeError: 'TriMesh' object has no attribute 'texture'

@LeeTaiTai
Copy link

@GangHu1993 hi, do you solve this question?

@gaurav-1205
Copy link

Even I am facing the same problem!

@cvmaker93
Copy link

Hi,I also encountered the same problem. How did you solve it?

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

4 participants