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

Add more variant and pretrained_weight capability (#130) #154

Closed
wants to merge 1 commit into from

Conversation

langong347
Copy link
Contributor

@langong347 langong347 commented Jul 14, 2022

Stack from ghstack (oldest at bottom):

Summary:
Adding new variant: swin_s and swin_b with pretrained weight for omnivore.

Test Plan:
Create a test for each variant, also I change the test to use pytest instead of unittest.

Usage:
Here are example script to get the pretrained weight:

import torchmultimodal.models.omnivore as omnivore

model = omnivore.omnivore_swin_s(pretrained=True)

Reviewed By: langong347

Differential Revision: D37834886

Pulled By: YosuaMichael

fbshipit-source-id: 8a80d6c9d399eb22c87f43cca76bd2be73013774

[MUGEN]Spatialtemporal position embedding;tensor slicing utility

Summary:
Adding new variant: swin_s and swin_b with pretrained weight for omnivore.

Test Plan:
Create a test for each variant, also I change the test to use pytest instead of unittest.

Usage:
Here are example script to get the pretrained weight:
```
import torchmultimodal.models.omnivore as omnivore

model = omnivore.omnivore_swin_s(pretrained=True)
```

Reviewed By: langong347

Differential Revision: D37834886

Pulled By: YosuaMichael

fbshipit-source-id: 8a80d6c9d399eb22c87f43cca76bd2be73013774

[MUGEN]Spatialtemporal position embedding;tensor slicing utility

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 14, 2022
@langong347 langong347 closed this Jul 14, 2022
@langong347 langong347 deleted the gh/langong347/11/head branch July 17, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants