4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00

Changed Rays / Sec formatting

This commit is contained in:
origamiman72 2022-07-20 17:36:24 -07:00
parent bd1f1ae49c
commit 8cfe141fd7
2 changed files with 3 additions and 3 deletions

View File

@ -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`
* :ref:`search`

View File

@ -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