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 = (