summaryrefslogtreecommitdiff
path: root/utils
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 /utils
parent36cf502afe9b93efe31c244030270b0a62e644b8 (diff)
Some type hint fixes
Diffstat (limited to 'utils')
-rw-r--r--utils/dataset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/dataset.py b/utils/dataset.py
index ded9fd5..cd8b0f1 100644
--- a/utils/dataset.py
+++ b/utils/dataset.py
@@ -75,7 +75,7 @@ class CASIAB(data.Dataset):
self.views: np.ndarray[np.str_]
# Labels, classes, conditions and views in dataset,
# set of three attributes above
- self.metadata = dict[str, list[np.int64, str]]
+ self.metadata: dict[str, list[np.int64, str]]
# Dictionaries for indexing frames and frame names by clip name
# and chip path when cache is on