deepvariant/model_eval.py
def read_metrics(checkpoint_path, eval_name, file_name=None):
  """Reads the JSON of metrics for checkpoint_path in eval_dir."""
  metrics_path = checkpoint_metrics_path(checkpoint_path, eval_name, file_name)
  with tf.io.gfile.GFile(metrics_path) as fin:
    return {k: float(v) for k, v in json.load(fin).items()}
Reads the JSON of metrics for checkpoint_path in eval_dir.
Reads the JSON of metrics for checkpoint_path in eval_dir.
Reads the JSON of metrics for checkpoint_path in eval_dir .
def read_metrics(checkpoint_path, eval_name, file_name=None):
  metrics_path = checkpoint_metrics_path(checkpoint_path, eval_name, file_name)
  with tf.io.gfile.GFile(metrics_path) as fin:
    return {k: float(v) for k, v in json.load(fin).items()}
def read_metrics ( checkpoint_path , eval_name , file_name = None ) : metrics_path = checkpoint_metrics_path ( checkpoint_path , eval_name , file_name ) with tf . io . gfile . GFile ( metrics_path ) as fin : return { k : float ( v ) for k , v in json . load ( fin ) . items ( ) }
Reads the JSON of metrics for checkpoint_path in eval_dir.
Reads the JSON of metrics for checkpoint_path in eval_dir .
"""Reads the JSON of metrics for checkpoint_path in eval_dir."""
checkpoint_path
eval_name
file_name