explainable-cnn
๐ฆ PyTorch based visualization package for generating layer-wise explanations for CNNs.
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- test_workflow.yml
- dog.jpg
- tiger_shark.jpeg
- 0-resnet18-gradcam-layer4-tiger_shark.png
- 0-resnet18-guided-tiger_shark.png
- 0-resnet18-guided_gradcam-layer4-tiger_shark.png
- cam_and_guided_compare.png
- explainable-cnn-output.png
- test_guided_gradcam.png
- .DS_Store
- architecture.png
- dog.jpg
- imagenet_class_labels.pkl
- synset_words.txt
- explainable_cnn_usage.ipynb
- __init__.py
- base_explainer.py
- cnn_explainer.py
- grad_cam.py
- __init__.py
- base_validator.py
- cnn_validator.py
- .DS_Store
- __init__.py
- base_explainer_test.py
- cnn_explainer_test.py
- conftest.py
- .all-contributorsrc
- .gitignore
- CONTRIBUTING.md
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
- setup.py
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/ashutosh1919/explainable-cnn
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd explainable-cnn
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. ๊ณต์ ์ค์น ์คํฌ๋ฆฝํธ
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
- Python 3 pip ๋ช ๋ น์ด๋ฅผ ์ฐ๋ ค๋ฉด Python์ด ํ์ํฉ๋๋ค.
pip install explainable-cnn
PyPI์ ๋ฐฐํฌ๋ ํจํค์ง๋ฅผ ๋ฐ๋ก ์ค์นํฉ๋๋ค. ์์ค ํด๋ก ์ด ํ์ ์์ต๋๋ค.
์ค์น ํ ์ ํฐ๋ฏธ๋์ ์ด๊ณ , ํ๋ก๊ทธ๋จ์ ๋ฒ์ ํ์ธ ๋ช
๋ น(์: --version)์ผ๋ก ์ ์ ์ค์น๋๋์ง ํ์ธํ์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
3. Python
์ฌ์์ฌ์ ์ค๋น๋ฌผ
pip install explainable-cnn
PyPI์ ๋ฐฐํฌ๋ ํจํค์ง๋ฅผ ๋ฐ๋ก ์ค์นํฉ๋๋ค. ์์ค ํด๋ก ์ด ํ์ ์์ต๋๋ค.
์๋ฌ ๋ฉ์์ง ์์ด ์คํ๋๊ณ ํฐ๋ฏธ๋์ ์๋ด ๋ฌธ๊ตฌ๊ฐ ์ถ๋ ฅ๋๋ฉด ์ ์์
๋๋ค.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
