Resnet-DCBAM
A clean and modular PyTorch implementation of DCBAM (Dual-Channel & Spatial Attention) integrated into a custom ResNet50 backbone. Includes attention modules, pretrained weight loading, layer freezing, full examples, and production-ready architecture.
File Explorer
- test_backbone.py
- dcbam.py
- resnet_dcbam.py
- __init__.py
- package_check.py
- .gitignore
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
