Skip to content

Commit

Permalink
fixing error
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdava authored and jb-ye committed Jul 25, 2024
1 parent 4678aac commit 2daa9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerfstudio/scripts/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def update_config(config: TrainerConfig) -> TrainerConfig:
# Map to color spaces / numpy
if is_raw:
output_image = output_image.cpu().numpy()
elif output_name == "rgba": # for RGBA image just do simple numpy conversion
elif output_name == "rgba":
output_image = output_image.detach().cpu().numpy()
elif is_depth:
output_image = (
Expand Down

0 comments on commit 2daa9a0

Please sign in to comment.