Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

why last layer self.conv_1x1_exp is Identity in code, but self.conv_1x1_exp is mapping to a higher dimension in paper? #4

Closed
xuesongnie opened this issue Nov 13, 2022 · 2 comments

Comments

@xuesongnie
Copy link

In code:
self.conv_1x1_exp = Identity()

In paper:
屏幕截图 2022-11-13 125500

@shaktiwadekar9
Copy link
Collaborator

The table provides architecture details for MobileViTv3-XXS,XS, and S models [MobileViTv3-v1] and not for MobileViTv3-0.5,0.75 and 1.0 [MobileViTv3-v2]. The code part you are highlighting is present in the model definition for MobileViTv3-0.5,0.75 and 1.0. These models do not have conv-1x1 layer, therefore Identity() is used.

@xuesongnie
Copy link
Author

The table provides architecture details for MobileViTv3-XXS,XS, and S models [MobileViTv3-v1] and not for MobileViTv3-0.5,0.75 and 1.0 [MobileViTv3-v2]. The code part you are highlighting is present in the model definition for MobileViTv3-0.5,0.75 and 1.0. These models do not have conv-1x1 layer, therefore Identity() is used.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants