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
TypeError: conv2d() received an invalid combination of arguments #80
Comments
Hello, |
Hello,I met the same problem,did you fix it? |
hello,i also met the problem |
hello, the same problem, how to solve? |
change darknet_meta.py |
I changed pad=(kernel_size-1)/2 to pad=int((kernel_size-1)/2) if is_pad else 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.Sorry for troubling you. When I run python train_meta.pycfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg darknet19_448.conv.23,a TypeError occured:
TypeError: conv2d() received an invalid combination of arguments - got (Tensor, Parameter, NoneType, tuple, tuple, tuple, int), but expected one of:
didn't match because some of the arguments have invalid types: (Tensor, !Parameter!, !NoneType!, !tuple!, !tuple!, !tuple!, int)
didn't match because some of the arguments have invalid types: (Tensor, !Parameter!, !NoneType!, !tuple!, !tuple!, !tuple!, int)
The text was updated successfully, but these errors were encountered: