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

Unable to Execute Code #11

Open
longzilicart opened this issue Apr 18, 2024 · 0 comments
Open

Unable to Execute Code #11

longzilicart opened this issue Apr 18, 2024 · 0 comments

Comments

@longzilicart
Copy link

Hi, thank you for your nice work. I've been trying to replicate the experiments, but I'm encountering several issues when attempting to run the code specifically in vihg.py, which contrasts with my successful execution of the original VIG.

When I attempt to run a simple test in vihg.py, I encounter multiple errors:

if __name__ == "__main__":
    net = vihg_b_224_gelu()
    x = torch.randn((2, 3, 224, 224))
    y = net(x)
    print(y.shape)

Could you please help me understand if there's anything specific I am missing, or if there might be an issue with the code.

Thank you!

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

No branches or pull requests

1 participant