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:
Ethan Weber authored and GitHub committed 2022-09-16 17:27:55 -07:00
1 parent 4c1e443a41
commit e22eab8c86
22 files changed
+300 -219

No files matched your search

+5
View File
@@ -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