Skip to content

Commit ef83d6a

Browse files
Comment out RGB channel assertion
Comment out assertion for RGB channel support.
1 parent 65042cc commit ef83d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gsplat/cuda/csrc/Rasterization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ std::tuple<at::Tensor, at::Tensor, at::Tensor> rasterize_to_pixels_from_world_3d
741741
uint32_t C = viewmats0.size(-3); // number of cameras
742742
// uint32_t N = means.size(-2); // number of gaussians
743743
uint32_t channels = colors.size(-1);
744-
assert (channels == 3); // only support RGB for now
744+
// assert (channels == 3); // only support RGB for now
745745

746746
at::DimVector renders_shape(batch_dims);
747747
renders_shape.append({C, image_height, image_width, channels});

0 commit comments

Comments
 (0)