mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 10:29:51 +08:00
updating metrics logging (#460)
* integrated changes * update * stratified * black * bump version * upgrade version * improved wandb logging * fix split for eval * comments
This commit is contained in:
1 parent
4c1e443a41
commit
e22eab8c86
22 files changed
+300
-219
No files matched your search
@@ -159,3 +159,8 @@ def scale_dict(dictionary: Dict[Any, Any], coefficients: Dict[str, float]) -> Di
|
||||
if key in coefficients:
|
||||
dictionary[key] *= coefficients[key]
|
||||
return dictionary
|
||||
|
||||
|
||||
def step_check(step, step_size, run_at_zero=False) -> bool:
|
||||
"""Returns true based on current step and step interval."""
|
||||
return (run_at_zero or step != 0) and step % step_size == 0
|
||||
Reference in new issue
Block a user