torch-cam:您的PyTorch模型(CAM,Grad-CAM,Grad-CAM ++,Smooth Grad-CAM ++,Score-CAM,SS-CAM,IS-CAM)的类激活图-源码

上传者: 42132352 | 上传时间: 2021-09-15 09:45:52 | 文件大小: 361KB | 文件类型: ZIP
Torchcam:类激活资源管理器 利用PyTorch中特定于类的卷积层激活的简单方法。 目录 入门 先决条件 Python 3.6(或更新版本) 安装 您可以使用安装软件包,如下所示: pip install torchcam 或使用 : conda install -c frgfm torchcam 用法 Torchcam的建立既适合希望更好地了解其CNN模型的用户,也供研究人员使用流行的方法享受强大的实施基础。 这是一个简短的片段,说明了其用法: import torch from torchcam . cams import SmoothGradCAMpp from torchvision . models import resnet18 img_tensor = torch . rand (( 1 , 3 , 224 , 224 )) model = resnet18

文件下载

资源详情

[{"title":"( 40 个子文件 361KB ) torch-cam:您的PyTorch模型(CAM,Grad-CAM,Grad-CAM ++,Smooth Grad-CAM ++,Score-CAM,SS-CAM,IS-CAM)的类激活图-源码","children":[{"title":"torch-cam-master","children":[{"title":"mypy.ini <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":".conda","children":[{"title":"meta.yaml <span style='color:#111;'> 1002B </span>","children":null,"spread":false}],"spread":true},{"title":".flake8 <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"pkg-upload.yaml <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"gh-page.yaml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"doc-deploy.yaml <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"main.yml <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"scripts","children":[{"title":"cam_example.py <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"test_cams_utils.py <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"test_cams_cam.py <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"test_utils.py <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"test_cams_gradcam.py <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"test_cams_core.py <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"setup.cfg <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"torchcam","children":[{"title":"cams","children":[{"title":"cam.py <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false},{"title":"gradcam.py <span style='color:#111;'> 12.76KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"core.py <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils.py <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 119B </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":[{"title":"source","children":[{"title":"cams.rst <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"utils.rst <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"installing.rst <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"_static","children":[{"title":"css","children":[{"title":"custom_theme.css <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"make.bat <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 638B </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":".coveragerc <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"images","children":[{"title":"cam_example.png <span style='color:#111;'> 328.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_21940947 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-08-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明