Skip to content

Commit

Permalink
gihub action seem not to like my black
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNeRF committed Sep 26, 2024
1 parent 556d729 commit 375bd67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gsplat/compression/png_compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ def _compress_kmeans(
maxs = torch.max(centroids)
centroids_norm = (centroids - mins) / (maxs - mins)
centroids_norm = centroids_norm.detach().cpu().numpy()
centroids_quant = (centroids_norm * (2**quantization - 1)).round().astype(np.uint8)
centroids_quant = (
(centroids_norm * (2**quantization - 1)).round().astype(np.uint8)
)
labels = labels.astype(np.uint16)

npz_dict = {
Expand Down

0 comments on commit 375bd67

Please sign in to comment.