Update dataset.py
Browse files- 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))
|