From 8cfe141fd7ffaba3419e418393adfddb8f678121 Mon Sep 17 00:00:00 2001 From: origamiman72 Date: Wed, 20 Jul 2022 17:36:24 -0700 Subject: [PATCH] Changed Rays / Sec formatting --- docs/index.rst | 4 ++-- scripts/run_eval.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index babd43971..63f2a02bd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -67,7 +67,7 @@ Supported Models +------------------------+------------------------------+----------------------------+ -| | PSNR | Rays per sec. | +| | PSNR | Rays / sec. | +========================+==============================+============================+ | NeRF | |:hourglass_flowing_sand:| | |:hourglass_flowing_sand:| | +------------------------+------------------------------+----------------------------+ @@ -83,4 +83,4 @@ Indices and Tables * :ref:`genindex` * :ref:`modindex` -* :ref:`search` \ No newline at end of file +* :ref:`search` diff --git a/scripts/run_eval.py b/scripts/run_eval.py index ecf85e91a..b6a71ccfa 100644 --- a/scripts/run_eval.py +++ b/scripts/run_eval.py @@ -200,7 +200,7 @@ def main( avg_rays_per_sec = stats_dict["avg rays per sec"] avg_fps = stats_dict["avg fps"] print(f"Avg. PSNR: {avg_psnr:0.4f}") - print(f"Avg. Rays per sec: {avg_rays_per_sec:0.4f}") + print(f"Avg. Rays / Sec: {avg_rays_per_sec:.2e}") print(f"Avg. FPS: {avg_fps:0.4f}") elif method == MethodType.TRAJ: # TODO(ethan): pass in camera information into argparse parser