joshuakgao commited on
Commit
8bf5158
·
verified ·
1 Parent(s): 082a76b

Update dataset.py

Browse files
Files changed (1) hide show
  1. dataset.py +1 -1
dataset.py CHANGED
@@ -31,7 +31,7 @@ class ChessbenchDataset(Dataset):
31
  total_records = 0
32
 
33
  # Find all bag files in the specified directory
34
- for bag_path in sorted(self.data_dir.glob("*.bag")):
35
  bag_reader = BagReader(str(bag_path))
36
  bag_length = len(bag_reader)
37
  self.bags.append((bag_path, bag_length))
 
31
  total_records = 0
32
 
33
  # Find all bag files in the specified directory
34
+ for bag_path in sorted(self.data_dir.glob("action_value*_data.bag")):
35
  bag_reader = BagReader(str(bag_path))
36
  bag_length = len(bag_reader)
37
  self.bags.append((bag_path, bag_length))