diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-23 10:26:40 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-23 10:26:40 +0800 |
commit | 89d702fb2adb588864be489e3d53ffa2746a52af (patch) | |
tree | b1fbb23cf592ec7957d59a213d9371e593f1baca /models | |
parent | 4a4506fde7867df4d4d446c8992621fb0da03939 (diff) | |
parent | c967a2ac88e075082473f3ca219660fa12cf67d1 (diff) |
Merge branch 'master' into python3.8
Diffstat (limited to 'models')
-rw-r--r-- | models/model.py | 3 |
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( |