From 41499769eb3c1e68ac0b11124678215f7e730b01 Mon Sep 17 00:00:00 2001 From: Charlie Meyers Date: Wed, 20 Mar 2024 01:33:24 +0100 Subject: [PATCH] remove _target_ from base/data --- deckard/base/data/data.py | 1 - 1 file changed, 1 deletion(-) diff --git a/deckard/base/data/data.py b/deckard/base/data/data.py index 934366a5..7b1859ea 100644 --- a/deckard/base/data/data.py +++ b/deckard/base/data/data.py @@ -58,7 +58,6 @@ def __init__( else: self.generate = None if sample is not None: - sample.pop("_target_", None) self.sample = ( sample if isinstance(sample, (SklearnDataSampler))