From eb2bd8d6eba96db67a59679b16e173ade97ba09d Mon Sep 17 00:00:00 2001 From: xujiaze13 <37360975+xujiaze13@users.noreply.github.com> Date: Thu, 6 Aug 2020 12:43:45 -0700 Subject: [PATCH] Remove redundant line in run_pl_glue.py (#6305) --- examples/text-classification/run_pl_glue.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/text-classification/run_pl_glue.py b/examples/text-classification/run_pl_glue.py index 19d8c913d..9c35d6d55 100644 --- a/examples/text-classification/run_pl_glue.py +++ b/examples/text-classification/run_pl_glue.py @@ -54,7 +54,6 @@ class GLUETransformer(BaseTransformer): cached_features_file = self._feature_file(mode) if os.path.exists(cached_features_file) and not args.overwrite_cache: logger.info("Loading features from cached file %s", cached_features_file) - features = torch.load(cached_features_file) else: logger.info("Creating features from dataset file at %s", args.data_dir) examples = (