Datasets:

Tasks:
Other
Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Tags:
License:
VictorSanh commited on
Commit
1688659
1 Parent(s): d4f54c6
Files changed (1) hide show
  1. P3.py +0 -2
P3.py CHANGED
@@ -84,8 +84,6 @@ def load_cached_task(features_file, tfrecord, split):
84
  with tf.io.gfile.GFile(features_file) as f:
85
  split_info = json.load(f)
86
  features = split_info["features"]
87
- split_info = json.load(f)
88
- features = split_info["features"]
89
 
90
  # Use `FixedLenSequenceFeature` for sequences with variable length.
91
  def _feature_config(shape, dtype):
 
84
  with tf.io.gfile.GFile(features_file) as f:
85
  split_info = json.load(f)
86
  features = split_info["features"]
 
 
87
 
88
  # Use `FixedLenSequenceFeature` for sequences with variable length.
89
  def _feature_config(shape, dtype):