diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-23 10:26:50 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-23 10:26:50 +0800 |
commit | 1bf22d4d440b1c5843a7a968ad7dc3f434c84771 (patch) | |
tree | 34b351c75a12d26a9b5556c796d25fa326a761e3 /models | |
parent | 231a14649a8c88463610c69c770b0397992b1210 (diff) | |
parent | 89d702fb2adb588864be489e3d53ffa2746a52af (diff) |
Merge branch 'python3.8' into python3.7
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 23d8f92..7eaaaf0 100644 --- a/models/model.py +++ b/models/model.py @@ -149,7 +149,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( |