From 97f2ba9d0de8ed7cf930ffac0fb081a368a1b0f1 Mon Sep 17 00:00:00 2001 From: vonyfeng <96578903+vonyfeng@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:24:56 +0800 Subject: [PATCH] update K in render_path() when render_factor!=0 --- run_nerf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_nerf.py b/run_nerf.py index bc270be86..f5f327113 100644 --- a/run_nerf.py +++ b/run_nerf.py @@ -143,6 +143,7 @@ def render_path(render_poses, hwf, K, chunk, render_kwargs, gt_imgs=None, savedi H = H//render_factor W = W//render_factor focal = focal/render_factor + K[:2, :3] /= render_factor rgbs = [] disps = []