Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Replace eval_nerf call
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Murthy <[email protected]>
  • Loading branch information
Krishna Murthy committed Apr 15, 2020
1 parent 2116826 commit a1406c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eval_nerf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from load_blender import load_blender_data
from load_llff import load_llff_data
from nerf_helpers import get_ray_bundle, positional_encoding
from train_utils import eval_nerf
from train_utils import run_one_iter_of_nerf


def cast_to_image(tensor):
Expand Down Expand Up @@ -140,7 +140,7 @@ def encode_direction_fn(x):
rgb_coarse = None
with torch.no_grad():
ray_origins, ray_directions = get_ray_bundle(hwf[0], hwf[1], hwf[2], pose)
rgb_coarse, _, _, rgb_fine, _, _ = eval_nerf(
rgb_coarse, _, _, rgb_fine, _, _ = run_one_iter_of_nerf(
hwf[0],
hwf[1],
hwf[2],
Expand Down

0 comments on commit a1406c9

Please sign in to comment.