summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-03-12 15:37:53 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-03-12 15:37:53 +0800
commit9c0dde1f8fbd16f3d1e9e2a0f7dff7abfd6482d2 (patch)
treef18233a19b0aa72368cd260772b7266745e05ae6 /models
parentd63b267dd15388dd323d9b8672cdb9461b96c885 (diff)
A type hint fix
Diffstat (limited to 'models')
-rw-r--r--models/rgb_part_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/rgb_part_net.py b/models/rgb_part_net.py
index 3a5777e..6e72e38 100644
--- a/models/rgb_part_net.py
+++ b/models/rgb_part_net.py
@@ -20,7 +20,7 @@ class RGBPartNet(nn.Module):
hpm_use_max_pool: bool = True,
tfa_squeeze_ratio: int = 4,
tfa_num_parts: int = 16,
- embedding_dims: tuple[int] = (256, 256),
+ embedding_dims: Tuple[int] = (256, 256),
image_log_on: bool = False
):
super().__init__()