From 375bd67628edc63d21bb1518bf97e1570491d2e8 Mon Sep 17 00:00:00 2001 From: Janusch Patas Date: Thu, 26 Sep 2024 17:14:38 +0200 Subject: [PATCH] gihub action seem not to like my black --- gsplat/compression/png_compression.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gsplat/compression/png_compression.py b/gsplat/compression/png_compression.py index 2dbece8cf..ee4ead6f9 100644 --- a/gsplat/compression/png_compression.py +++ b/gsplat/compression/png_compression.py @@ -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 = {