Skip to content

Commit

Permalink
Fix typo in examples/simple_viewer.py (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
simo23 authored Aug 8, 2024
1 parent a6c2b52 commit 8bd343f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def main(local_rank: int, world_rank, world_size: int, args):
means, quats, scales, opacities, sh0, shN = [], [], [], [], [], []
for ckpt_path in args.ckpt:
ckpt = torch.load(ckpt_path, map_location=device)["splats"]
means.append(ckpt["means3d"])
means.append(ckpt["means"])
quats.append(F.normalize(ckpt["quats"], p=2, dim=-1))
scales.append(torch.exp(ckpt["scales"]))
opacities.append(torch.sigmoid(ckpt["opacities"]))
Expand Down

0 comments on commit 8bd343f

Please sign in to comment.