Created
June 22, 2021 09:42
-
-
Save AntoineToubhans/8ccfcd1f0aba75b8785d90e97e288713 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
def _read_model_evaluation_metrics(rev: str) -> dict: | |
with dvc.api.open("data/evaluation/metrics.json", rev=rev) as file: | |
return json.load(file) | |
MODELS_EVALUATION_METRICS = { | |
commit.hexsha: _read_model_evaluation_metrics(model_rev=commit.hexsha) | |
for commit in MODELS_COMMITS | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment