-
Notifications
You must be signed in to change notification settings - Fork 8
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 Sparse-conv module #1
Comments
Seem like this PyTorch project only simulates the skip-conv with the nn.Conv2d. 🤔 Does this mean I won't have speed improvement from deploying these codes in my project as sparse-conv isn't truly implemented? |
Looks like it. This implementation uses a dense convolution + extra work, so it is even slower than the dense version. This is only a proof of concept |
I tried SBNet's lib but weirdly seeing my network is heavily slower. I started an issue but since this repo is 2018's, I'm unlikely to get responses there. 😥 Their paper said they implemented skip-conv with img2col based approach from More is less: A more complicated network with less inference complexity. I wonder where these codes are released. |
@IwakuraRein I've been working on this problem recently, have you found a solution? |
CBInfer is the only working sparse video framework (that I was able to find) that can actually improve frame rates of some CNNs. However, it does not support batched inference - you will probably only see speedups over cuDNN on low end GPUs because of that. |
@dabeschte time_cb: 0.13297295570373535 Am I doing something wrong? GPU: 2060s, cuda10.0, pytorch: 1.4.0 |
yes, the problem here is that CBInfer does not support batched inference out of the box and your GPU is not fully utilized with a batch size of 1 - utilizing less of it does not make inference faster, because you always have to wait on the one core that is actually processing a pixel. |
@dabeschte I get it, thank you |
@wuranran @IwakuraRein @Overtown |
hi, thanks for your project, I would like to know how to construct sparse-conv that mentioned in your paper?
The text was updated successfully, but these errors were encountered: