You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using lsfm 1.0.0. I encountered "AttributeError: 'ColouredTriMesh' object has no attribute 'texture'" error. So I checked the code, it was in
def import_mesh(path):
if path.suffix == '.pkl' or path.suffix == '.gz':
mesh = import_pickle(path)
else:
mesh = m3io.import_mesh(path)
if mesh.texture.pixels.dtype != np.float64:
mesh.texture.pixels = normalize_pixels_range(mesh.texture.pixels)
return mesh
mesh = import_pickle(path) here I imported the template.pkl copied from "data".
I read the menpo "ColouredTriMesh" code, there is no attribute 'texture'" . ( version 0.7.7).
I am using ubuntu 14.04 with python 3.5. lsfm is 1.0.0, and it was installed with "conda install lsfm -c menpo".
The text was updated successfully, but these errors were encountered:
I was using lsfm 1.0.0. I encountered "AttributeError: 'ColouredTriMesh' object has no attribute 'texture'" error. So I checked the code, it was in
def import_mesh(path):
if path.suffix == '.pkl' or path.suffix == '.gz':
mesh = import_pickle(path)
else:
mesh = m3io.import_mesh(path)
if mesh.texture.pixels.dtype != np.float64:
mesh.texture.pixels = normalize_pixels_range(mesh.texture.pixels)
return mesh
mesh = import_pickle(path) here I imported the template.pkl copied from "data".
I read the menpo "ColouredTriMesh" code, there is no attribute 'texture'" . ( version 0.7.7).
I am using ubuntu 14.04 with python 3.5. lsfm is 1.0.0, and it was installed with "conda install lsfm -c menpo".
The text was updated successfully, but these errors were encountered: