Pointcept/SegmentAnything3D

Why does "sam3d.py" run as a ".pth" file?

LinLin1031 opened this issue · 5 comments

Why does "sam3d.py" run as a ".pth" file? Normally, shouldn't the result of semantic segmentation be a tag file or a point cloud file?

".pth" file is the final training result? If so, how should I test it?

@yhyang-myron @Gofinge
Hope to hear from you soon, thanks!

Hi, I have the same doubt. Could you please clarify. And how can I possible visualise its results

Hi. The group_id generated by sam3d.py is in the .pth file. And you visualize it with here.

@yhyang-myron The .pth file that is being generated as the output for me is a simple array with shape (81369,)
Is there supposed to be a key names as group_id in the output? I want to interpret the output .pth file better.

The array in the final .pth file is the group_id for every point in the original point clouds, and you can use it with original coordinates and color.