point-e
point-e copied to clipboard
How to export the point cloud?
I can't find a way of exporting the point cloud.
If someone can explain, I will add the exporting to the notebook.
i have the same question
See my tweet thread @neilsuperduper
You have to dump to npz file then load up in point cloud to mesh. From there you can export as plz file and import to blender.
So if I understand correctly from his Twitter clutter: import numpy as np pc = sampler.output_to_point_clouds(samples)[0] ## noticed this line is commented in the notebook np.savez_compressed('{whatever}.npz', coords=pc.coords, **pc.channels)
use the Jupyter notebooks:
using text2pointcloud.ipynb
# save point cloud to mesh
with open('porche_car.ply', 'wb') as f:
pc.write_ply(f)