summaryrefslogtreecommitdiff
path: root/models/model.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-12 11:43:11 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-12 11:43:11 +0800
commit9bd6908ed77410e2efa439d26ebd1f9b60519f53 (patch)
tree0d0797ad51bf06db22df4bc5407a707374d949e4 /models/model.py
parent36cf502afe9b93efe31c244030270b0a62e644b8 (diff)
Some type hint fixes
Diffstat (limited to 'models/model.py')
-rw-r--r--models/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/model.py b/models/model.py
index c6f6e57..7099b80 100644
--- a/models/model.py
+++ b/models/model.py
@@ -315,7 +315,7 @@ class Model:
self,
dataset_config: DatasetConfiguration,
dataloader_config: DataloaderConfiguration,
- ) -> tuple[DataLoader, dict[str: DataLoader]]:
+ ) -> tuple[DataLoader, dict[str, DataLoader]]:
dataset_name = dataset_config.get('name', 'CASIA-B')
if dataset_name == 'CASIA-B':
gallery_dataset = self._parse_dataset_config(