lsfm icon indicating copy to clipboard operation
lsfm copied to clipboard

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

Open GangHu1993 opened this issue 5 years ago • 3 comments

/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'

GangHu1993 avatar Mar 28 '19 07:03 GangHu1993

@GangHu1993 hi, do you solve this question?

LeeTaiTai avatar Apr 02 '19 06:04 LeeTaiTai

Even I am facing the same problem!

gaurav-1205 avatar Jun 07 '19 05:06 gaurav-1205

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

cvmaker93 avatar Jul 31 '20 03:07 cvmaker93