From 4f40b1f92fbd90eeac0186b1cfcde63498a22cc0 Mon Sep 17 00:00:00 2001 From: Butsko Christina Date: Thu, 22 Aug 2024 15:01:23 +0200 Subject: [PATCH] =?UTF-8?q?resolving=20black=20version=20formatting=20v.2?= =?UTF-8?q?=20=F0=9F=98=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presto/eval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presto/eval.py b/presto/eval.py index 006c947..fd9f457 100644 --- a/presto/eval.py +++ b/presto/eval.py @@ -108,10 +108,10 @@ def __init__( # use classes obtained from train to trim val and test classes self.val_df.loc[ ~self.val_df[class_column].isin(train_classes), class_column - ] = "other_crop" + ] = "other_crop" self.test_df.loc[ ~self.test_df[class_column].isin(train_classes), class_column - ] = "other_crop" + ] = "other_crop" # create one-hot representation from obtained labels # one-hot is needed for finetuning,