menpo / lsfm

Large Scale Facial Model (LSFM) - an automatic pipeline for constructing 3D Morphable Models from large collections of facial meshes
http://ibug.doc.ic.ac.uk/resources/lsfm/
BSD 3-Clause "New" or "Revised" License
504 stars 117 forks source link

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

Open GangHu1993 opened 5 years ago

GangHu1993 commented 5 years ago

/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_andsave(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 commented 5 years ago

@GangHu1993 hi, do you solve this question?

gaurav-1205 commented 5 years ago

Even I am facing the same problem!

cvmaker93 commented 4 years ago

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