Skip to content

Commit

Permalink
fixing error
Browse files Browse the repository at this point in the history
  • Loading branch information
hardikdava authored Jul 16, 2024
1 parent 920697e commit f77a8c9
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 f77a8c9

Please sign in to comment.