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

Transformers #21

Open
cyrilzakka opened this issue Aug 17, 2021 · 4 comments
Open

Transformers #21

cyrilzakka opened this issue Aug 17, 2021 · 4 comments

Comments

@cyrilzakka
Copy link

Hello, great job on this repo! Are there any plans to make it work with Transformers?

@kmkolasinski
Copy link
Collaborator

Hi, unfortunately not, this library is implemented to work with CNNs. I also believe that receptive field for Transformers may not be well defined as in the case of CNNs.

@ratom
Copy link

ratom commented May 26, 2023

Is there any way to calculate the receptive field of the pre-trained CNN models in the pytorch? I could not calculate the receptive fields of vgg, resnet, densenet and many more using this code. Thanks

@kmkolasinski
Copy link
Collaborator

You may try to look at this example https://github.com/shelfwise/receptivefield#pytorch-minimal---copypaste-example
and see if you could replace the net with the pretrained model

@ratom
Copy link

ratom commented May 26, 2023

i tried those examples but it didnot work in the pretrained models from the pytorch

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

3 participants