dooraven commited on
Commit
f22c265
1 Parent(s): 48200ac
Files changed (1) hide show
  1. pc.py +1 -1
pc.py CHANGED
@@ -52,7 +52,7 @@ class PointCloud:
52
  with open(f, "wb") as writer:
53
  self.save(writer)
54
  else:
55
- np.savez(f, self.coords)
56
 
57
  def write_ply(self, raw_f: BinaryIO):
58
  write_ply(
 
52
  with open(f, "wb") as writer:
53
  self.save(writer)
54
  else:
55
+ np.savez(f, coords=self.coords, **self.channels)
56
 
57
  def write_ply(self, raw_f: BinaryIO):
58
  write_ply(