Skip to content
프로젝트

AhmadJeddi/Resnet-DCBAM has 44 GitHub stars and 0 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-22 22:40 UTC. Last push 2026-07-26.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

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.

머신러닝

README.md

Original

ResNet-DCBAM

A clean, GitHub-ready PyTorch implementation of DCBAM (Dual Channel + Spatial Attention) and a ResNet50 backbone with optional DCBAM integration. This repository contains typed, well-documented modules, an example, packaging files, and a clear README.


Project layout

resnet_dcbam/
├─ LICENSE
├─ README.md (this file)
├─ requirements.txt
├─ pyproject.toml
├─ .gitignore
├─ models/
│  ├─ __init__.py
│  ├─ attention/
│  │  └─ dcbam.py
│  └─ backbone/
│     └─ resnet_dcbam.py
├─ examples/
│  └─ test_backbone.py
└─ scripts/
   └─ package_check.py

Quick install

python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -r requirements.txt

Design decisions

  • Modular structure: models.attention.dcbam is independent and reusable.
  • Backbone: models.backbone.resnet_dcbam encapsulates the ResNet50-like backbone and uses pretrained weights where possible.
  • Typing & docstrings: all public functions/classes include type hints and clear docstrings.
  • Tests / examples: examples/test_backbone.py demonstrates usage and verifies shapes.
  • License: MIT.

Files (full contents)

See the models/, examples/ and scripts/ folders for implementation and usage examples.

관련 프로젝트 살펴보기

불러오는 중…