Skip to content

Commit 2daa9a0

Browse files
hardikdavajb-ye
authored andcommitted
fixing error
1 parent 4678aac commit 2daa9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nerfstudio/scripts/render.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ def update_config(config: TrainerConfig) -> TrainerConfig:
842842
# Map to color spaces / numpy
843843
if is_raw:
844844
output_image = output_image.cpu().numpy()
845-
elif output_name == "rgba": # for RGBA image just do simple numpy conversion
845+
elif output_name == "rgba":
846846
output_image = output_image.detach().cpu().numpy()
847847
elif is_depth:
848848
output_image = (

0 commit comments

Comments
 (0)