Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MobileVIT Model [WIP] #209

Closed
wants to merge 1 commit into from
Closed

Adding MobileVIT Model [WIP] #209

wants to merge 1 commit into from

Conversation

shivance
Copy link
Contributor

@shivance shivance commented Dec 22, 2022

This PR adds the mobilevit model to Metalhead.

See this issue : #112

PR Checklist

  • Tests are added
  • Documentation, if applicable

@shivance
Copy link
Contributor Author

shivance commented Dec 22, 2022

@darsnack it's initial commit. I'm still working on it.

I find official implementation of mobilevit in apple/cvnets .
They have defined a config file to name all the layers and all their specs, and explicitly coded mobilevit class here.

What design pattern should I follow ?

@shivance
Copy link
Contributor Author

shivance commented Dec 23, 2022

@darsnack how can I reuse metalhead's mobilenetv2 layers in mobilevit ? Could you redirect me to a particular method?

I downloaded mobilevit-small from huggingface and printed the model in pytorch. The whole description of model is here. At this stage I'm finding it little bit hard to progress. Confused about where to begin with.

image

@shivance shivance closed this by deleting the head repository Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant