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

Could you provide a pytorch demo #9

Open
lll143653 opened this issue Jul 22, 2024 · 2 comments
Open

Could you provide a pytorch demo #9

lll143653 opened this issue Jul 22, 2024 · 2 comments

Comments

@lll143653
Copy link

Hello Author @skokec ,
I am reading your paper and trying to understand the relevant codes, such as the translation of function in the paper, but the large number of cuda operations and some related codes based on caffe (caffe has not been maintained for a long time) make it difficult to read and connect with the formulas in the paper. Can you provide a simple pytorch demo?

best regards

@skokec
Copy link
Owner

skokec commented Jul 23, 2024

There is also a pure TensorFlow version without any CUDA code available in https://github.com/skokec/DAU-ConvNet-TF repo. This code is quite a bit slow, but is much easier to understand.

Note that most of the equations in the paper relate to the efficient implementation and the computation of backpropagation, but in pure TensorFlow implementation this is done by automatic differentiation so you just need to provide gaussian kernel as weights to conv2d.

@lll143653
Copy link
Author

thanks

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