From ee632ac6352762d42818a673e036dfef549b4e72 Mon Sep 17 00:00:00 2001 From: Schneider Leo <leo.schneider@etu.ec-lyon.fr> Date: Mon, 21 Oct 2024 13:39:35 +0200 Subject: [PATCH] datasets --- main_custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_custom.py b/main_custom.py index b7bba3e..b130650 100644 --- a/main_custom.py +++ b/main_custom.py @@ -220,7 +220,7 @@ def main(args): print('Cuda : ', torch.cuda.is_available()) if args.forward == 'both': - data_train, data_val, _ = common_dataset.load_data(path_train=args.dataset_train, + data_train, data_val = common_dataset.load_data(path_train=args.dataset_train, path_val=args.dataset_val, path_test=args.dataset_test, batch_size=args.batch_size, length=args.seq_length, pad = False, convert=False, vocab='unmod') -- GitLab