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

AttributeError: 'PatchConv2d' object has no attribute 'stride' #3

Open
yangpc615 opened this issue May 26, 2024 · 1 comment
Open

Comments

@yangpc615
Copy link

image

The implementation of PatchConv2d is not equivalent to Conv2d—the implementation Inheriting the nn.Conv2d might be a better choice.

@lmxyy
Copy link
Collaborator

lmxyy commented May 27, 2024

Make sense. Previously, I wanted to avoid copying additional conv2d weights.

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

2 participants