From ca9ac0520876fbb2611a030844474f3e1fc232d3 Mon Sep 17 00:00:00 2001 From: Ziwen Liu <67518483+ziw-liu@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:21:36 -0800 Subject: [PATCH] remove blank line diff --- viscy/representation/engine.py | 1 - 1 file changed, 1 deletion(-) diff --git a/viscy/representation/engine.py b/viscy/representation/engine.py index 832fd62d..978da2cb 100644 --- a/viscy/representation/engine.py +++ b/viscy/representation/engine.py @@ -77,7 +77,6 @@ def _log_metrics( logger=True, sync_dist=True, ) - cosine_sim_pos = F.cosine_similarity(anchor, positive, dim=1).mean() euclidean_dist_pos = F.pairwise_distance(anchor, positive).mean() log_metric_dict = {