summaryrefslogtreecommitdiff
path: root/models/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'models/model.py')
-rw-r--r--models/model.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/model.py b/models/model.py
index 80cec06..be2ddcb 100644
--- a/models/model.py
+++ b/models/model.py
@@ -152,7 +152,8 @@ class Model:
train_size = dataset_config.get('train_size', 74)
val_dataset_config['train_size'] = train_size + val_size
val_dataset_config['selector']['classes'] = ClipClasses({
- str(c).zfill(3) for c in range(train_size, train_size + val_size)
+ str(c).zfill(3)
+ for c in range(train_size + 1, train_size + val_size + 1)
})
val_dataset = self._parse_dataset_config(val_dataset_config)
val_dataloader = iter(self._parse_dataloader_config(