https://github.com/pooya-mohammadi/cnn_receptive_field
Extract the receptive field of a fully connected cnn.
https://github.com/pooya-mohammadi/cnn_receptive_field
cnn python receptive-field
Last synced: 3 days ago
JSON representation
Extract the receptive field of a fully connected cnn.
- Host: GitHub
- URL: https://github.com/pooya-mohammadi/cnn_receptive_field
- Owner: pooya-mohammadi
- Created: 2022-11-08T12:37:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T12:40:23.000Z (almost 3 years ago)
- Last Synced: 2025-09-10T02:25:59.389Z (about 2 months ago)
- Topics: cnn, python, receptive-field
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CNN Receptive Field
Extract the receptive field of a fully connected cnn.
```gitignore
python receptive_field_size.py --kernel_sizes 5 2 --strides 3 1
```
Output:
```gitignore
[INFO] receptive field for a network with kernel-sizes: [5, 2] & strides: [3, 1] is: 8
```

**Note:** image is taken from: https://www.baeldung.com/cs/cnn-receptive-field-size
# references
1) https://www.baeldung.com/cs/cnn-receptive-field-size
2) https://distill.pub/2019/computing-receptive-fields/#return-from-solving-receptive-field-size