vision-transformer-pytorch:带有预训练模型的Pytorch版本的Vision Transformer(ViT)。 这是CASL(https-源码

上传者: 42143092 | 上传时间: 2021-09-18 11:13:54 | 文件大小: 173KB | 文件类型: ZIP
视觉变压器-火炬 视觉变压器的Pytorch实现。 提供了预先训练的pytorch权重,这些权重是从原始jax /亚麻权重转换而来的。 这是和的项目。 介绍 Pytorch实施的论文 。 我们提供从预训练的jax /亚麻模型转换而来的预训练的pytorch权重。 我们还提供微调和评估脚本。 获得了与类似的结果。 安装 创建环境: conda create --name vit --file requirements.txt conda activate vit 可用型号 我们提供,这些是从原始jax / flax wieghts转换而来的。 您可以下载它们并将文件放在“ weights / pytorch”下以使用它们。 否则,您可以下载,并将这些帧放在“ weights / jax”下以使用它们。 我们将在线为您转换权重。 数据集 当前支持三个数据集:ImageNet2012,CI

文件下载

资源详情

[{"title":"( 35 个子文件 173KB ) vision-transformer-pytorch:带有预训练模型的Pytorch版本的Vision Transformer(ViT)。 这是CASL(https-源码","children":[{"title":"vision-transformer-pytorch-main","children":[{"title":".gitattributes <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"config.yml <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"notebooks","children":[{"title":"Example.ipynb <span style='color:#111;'> 18.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"train.py <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"config.py <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"checkpoint.py <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"model.py <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"eval.py <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"data_loaders.py <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"check_jax.py <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"vit_jax","children":[{"title":"input_pipeline.py <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"checkpoint_test.py <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"hyper.py <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"train.py <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"flags.py <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"momentum_hp.py <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"checkpoint.py <span style='color:#111;'> 8.62KB </span>","children":null,"spread":false},{"title":"log.py <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"train_test.py <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"models.py <span style='color:#111;'> 7.72KB </span>","children":null,"spread":false},{"title":"models_test.py <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"configs.py <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false}],"spread":false},{"title":"requirements.txt <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"figure1.png <span style='color:#111;'> 126.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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