-
Notifications
You must be signed in to change notification settings - Fork 22
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 Video Vision Transformer implementation #62
Conversation
Codecov Report
@@ Coverage Diff @@
## main #62 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 59 61 +2
Lines 1696 1749 +53
=========================================
+ Hits 1696 1749 +53
|
…n series) with simple linear embedding..
tests/test_encoder.py
Outdated
|
||
|
||
def test_TubeletEmbedding(): | ||
from vformer.encoder.embedding.video_patch_embeddings import TubeletEmbedding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please move this import to the top of the file since we've been doing that for the rest of the test functions?
tests/test_models.py
Outdated
@@ -496,3 +496,26 @@ def test_ConvVT(): | |||
out = model(img2) | |||
assert out.shape == torch.Size([4, 1000]) | |||
del model | |||
|
|||
|
|||
def test_Vivit(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def test_Vivit(): | |
def test_ViViT(): |
Hi @abhi-glitchhg, I have added a couple of suggestions.
Thanks. |
#26