diff --git a/cm/random_util.py b/cm/random_util.py index 64649c8..7224692 100644 --- a/cm/random_util.py +++ b/cm/random_util.py @@ -97,7 +97,7 @@ def set_seed(self, seed): class DeterministicIndividualGenerator: """ RNG to deterministically sample num_samples samples that does not depend on batch_size or mpi_machines - Uses a separate rng for each sample to reduce memoery usage + Uses a separate rng for each sample to reduce memory usage """ def __init__(self, num_samples, seed=0): diff --git a/evaluations/evaluator.py b/evaluations/evaluator.py index 622e27e..8c7d8cf 100644 --- a/evaluations/evaluator.py +++ b/evaluations/evaluator.py @@ -338,7 +338,7 @@ def evaluate( return { "fraction": float(np.mean(batch_predictions)), "batch_predictions": batch_predictions, - "max_realisim_score": max_realism_score, + "max_realism_score": max_realism_score, "nearest_indices": nearest_indices, }