Changed Rays / Sec formatting

This commit is contained in:
origamiman72 committed 2022-07-20 17:52:36 -07:00
1 parent bd1f1ae49c
commit 8cfe141fd7
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -67,7 +67,7 @@ Supported Models
+------------------------+------------------------------+----------------------------+ +------------------------+------------------------------+----------------------------+
| | PSNR | Rays per sec. | | | PSNR | Rays / sec. |
+========================+==============================+============================+ +========================+==============================+============================+
| NeRF | |:hourglass_flowing_sand:| | |:hourglass_flowing_sand:| | | NeRF | |:hourglass_flowing_sand:| | |:hourglass_flowing_sand:| |
+------------------------+------------------------------+----------------------------+ +------------------------+------------------------------+----------------------------+
@@ -83,4 +83,4 @@ Indices and Tables
* :ref:`genindex` * :ref:`genindex`
* :ref:`modindex` * :ref:`modindex`
* :ref:`search` * :ref:`search`
+1 -1
View File
@@ -200,7 +200,7 @@ def main(
avg_rays_per_sec = stats_dict["avg rays per sec"] avg_rays_per_sec = stats_dict["avg rays per sec"]
avg_fps = stats_dict["avg fps"] avg_fps = stats_dict["avg fps"]
print(f"Avg. PSNR: {avg_psnr:0.4f}") 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}") print(f"Avg. FPS: {avg_fps:0.4f}")
elif method == MethodType.TRAJ: elif method == MethodType.TRAJ:
# TODO(ethan): pass in camera information into argparse parser # TODO(ethan): pass in camera information into argparse parser