Atlas
Atlas copied to clipboard
Bad Type Name in sample1.ply
Hi, when trying to visualize the sample1.ply
file in both MeshLab or CloudCompare, given by both the colab notebook and running inference on my local machine, I get a Bad Type Name
, which I've traced to being due to property int64 semseg
.
When I try to replace it with property int semseg
, it gives me bad vertex index in face
.
What should I do?
Also, what is the best way to visualize the outputs?
I had the same issue. The easiest solution I found if you're just trying to view the output is to just switch to write to an OBJ file.
Change this line to:
mesh_pred.export(os.path.join(save_path, '%s.obj' % scene))
(i.e. just replace ply
with obj
).
It seems like this might be a trimesh
issue writing to PLYs?
I had the same issue. The easiest solution I found if you're just trying to view the output is to just switch to write to an OBJ file.
Change this line to:
mesh_pred.export(os.path.join(save_path, '%s.obj' % scene))
(i.e. just replace
ply
withobj
).It seems like this might be a
trimesh
issue writing to PLYs?
@meder411 you were right. change the extension .ply
to .obj
worked
I had the same issue. The easiest solution I found if you're just trying to view the output is to just switch to write to an OBJ file. Change this line to:
mesh_pred.export(os.path.join(save_path, '%s.obj' % scene))
(i.e. just replace
ply
withobj
). It seems like this might be atrimesh
issue writing to PLYs?@meder411 you were right. change the extension
.ply
to.obj
worked
Hi @Fquico1999, did you get it work by .obj
? I wonder which visualization app you use? I am using cloudcompare but it shows malformed file
as below:
Solved by following https://github.com/magicleap/Atlas/pull/18.