-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
About the use of MixConv2d #5403
Comments
@Zengyf-CVer see MixConv2d module for input requirements: Lines 49 to 71 in ed887b5
|
@Zengyf-CVer Conv() module for comparison: Lines 36 to 46 in ed887b5
|
@glenn-jocher import torch
from utils.torch_utils import profile
from models.experimental import MixConv2d
m = MixConv2d(128, 256, (3, 5), 1)
results = profile(input=torch.randn(16, 128, 80, 80), ops=[m], n=1) Error message:
Is there a bug for MixConv2d? |
@Zengyf-CVer I cam able to reproduce this error (thank you for the code to reproduce!), may be a bug, will investigate. |
@glenn-jocher
How should I use this MixConv2d method? I did an experiment and replaced Conv directly with the MixConv2d method, and found that it couldn't run:
Console output information:
I found that the problem with this
k
, how do I set thisk
?yolov5/models/experimental.py
Line 53 in ed887b5
The text was updated successfully, but these errors were encountered: