SushantGautam commited on
Commit
7f80cf5
1 Parent(s): 8cfc138

Update SoccerNet-Echoes.py

Browse files
Files changed (1) hide show
  1. SoccerNet-Echoes.py +1 -1
SoccerNet-Echoes.py CHANGED
@@ -101,7 +101,7 @@ class FootballASRDataset(datasets.GeneratorBasedBuilder):
101
  data = json.load(f)
102
  for segment_index, segment_data in data["segments"].items():
103
  filename= "/".join(root.split("/")[-3:])+"/"+str(file[0])
104
- yield f"{file}_{segment_index}", {
105
  "segment_index": str(segment_index),
106
  "start_time": segment_data[0],
107
  "end_time": segment_data[1],
 
101
  data = json.load(f)
102
  for segment_index, segment_data in data["segments"].items():
103
  filename= "/".join(root.split("/")[-3:])+"/"+str(file[0])
104
+ yield f"{filename}_{segment_index}", {
105
  "segment_index": str(segment_index),
106
  "start_time": segment_data[0],
107
  "end_time": segment_data[1],