diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-12 15:37:53 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-12 15:37:53 +0800 |
commit | 9c0dde1f8fbd16f3d1e9e2a0f7dff7abfd6482d2 (patch) | |
tree | f18233a19b0aa72368cd260772b7266745e05ae6 | |
parent | d63b267dd15388dd323d9b8672cdb9461b96c885 (diff) |
A type hint fix
-rw-r--r-- | models/rgb_part_net.py | 2 |
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__() |