From 9bd6908ed77410e2efa439d26ebd1f9b60519f53 Mon Sep 17 00:00:00 2001 From: Jordan Gong Date: Tue, 12 Jan 2021 11:43:11 +0800 Subject: Some type hint fixes --- models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/model.py') 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( -- cgit v1.2.3