mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 15:20:34 +08:00
spelling
Summary: Collection of spelling things, mostly in docs / tutorials. Reviewed By: gkioxari Differential Revision: D26101323 fbshipit-source-id: 652f62bc9d71a4ff872efa21141225e43191353a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c2e62a5087
commit
124bb5e391
@@ -60,7 +60,7 @@ def main(cfg: DictConfig):
|
||||
print(f"Loading checkpoint {checkpoint_path}.")
|
||||
loaded_data = torch.load(checkpoint_path)
|
||||
# Do not load the cached xy grid.
|
||||
# - this allows to set an arbitrary evaluation image size.
|
||||
# - this allows setting an arbitrary evaluation image size.
|
||||
state_dict = {
|
||||
k: v
|
||||
for k, v in loaded_data["model"].items()
|
||||
@@ -121,7 +121,7 @@ def main(cfg: DictConfig):
|
||||
test_image = test_image.to(device)
|
||||
test_camera = test_camera.to(device)
|
||||
|
||||
# Activate eval mode of the model (allows to do a full rendering pass).
|
||||
# Activate eval mode of the model (lets us do a full rendering pass).
|
||||
model.eval()
|
||||
with torch.no_grad():
|
||||
test_nerf_out, test_metrics = model(
|
||||
|
||||
Reference in New Issue
Block a user