-
Notifications
You must be signed in to change notification settings - Fork 623
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
Bug in upfirdn2d_native and native pytorch version of it. #81
Comments
https://libraries.io/pypi/torch-dwconv |
I think (original) implementation is correct as result of it matches with cuda implementation. Regarding torch-dwconv, as it is also dependent on cuda kernel, it will not very helpful for those who have problems on compiling cuda codes. |
Thanks a lot, this solution is work for me |
我做了这个修改后,仍会报错,请问你是怎么解决此问题的 依然报错 |
在你需要使用fused_leaky_relu的那个py文件里单独定义一个函数再去使用,不需要在原本的op文件夹里的py文件中修改源码。 |
I'm trying to use a native pytorch version of
fused_leaky_relu
andupfirdn2d
#66 #70However there is a dimensionality bug in the
upfirdn2d_native
so I fixed it like this,For
fused_leaky_relu
, I usedFor those having a hard time compiling cuda code, this could be an easy way to do a demo
The text was updated successfully, but these errors were encountered: