mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-14 20:03:49 +08:00
Eng/better benchmarking (#240)
* add print * updated benchmark for more fine-grain options
This commit is contained in:
1 parent
d90d8add66
commit
2c40c1b2bc
2 files changed
+66
-27
No files matched your search
+2
-2
@@ -3,7 +3,7 @@ run_eval.py
|
||||
"""
|
||||
import enum
|
||||
import os
|
||||
from typing import Dict, List, Optional
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
import dcargs
|
||||
import mediapy as media
|
||||
@@ -62,7 +62,7 @@ def _load_checkpoint(config: DictConfig, graph: Graph) -> None:
|
||||
print(f"done loading checkpoint from {load_path}")
|
||||
|
||||
|
||||
def run_inference_from_config(config: DictConfig) -> Dict[str, float]:
|
||||
def run_inference_from_config(config: DictConfig) -> Dict[str, Any]:
|
||||
"""helper function to run inference given config specifications (also used in benchmarking)
|
||||
|
||||
Args:
|
||||
|
||||
Reference in new issue
Block a user