torch-uncertainty/Checkpoints
收藏资源简介:
Checkpoints数据集是在ICLR 2024上发表的论文《A Symmetry-Aware Exploration of Bayesian Neural Network Posteriors》中训练和使用的。所有模型都以float16格式训练和上传,以减少内存占用。
Checkpoints数据集是在ICLR 2024上发表的论文《A Symmetry-Aware Exploration of Bayesian Neural Network Posteriors》中训练和使用的。所有模型都以float16格式训练和上传,以减少内存占用。
Checkpoints 数据集
概述
Checkpoints 数据集是在 ICLR 2024 发表的论文《A Symmetry-Aware Exploration of Bayesian Neural Network Posteriors》中训练和使用的。所有模型均以 float16 格式上传,以减少内存占用。
使用方法
解压模型
通过解压 models 目录中的所需模型文件来使用,例如:
bash
tar -xvf models/cifar10-resnet18/cifar10-resnet18-0-1023.tgz
大多数模型文件被打包成每个包含 1024 个模型的 tar 文件。解压后会创建一个包含 safetensors 格式模型的文件夹。
TorchUncertainty
要加载或训练模型,首先下载 TorchUncertainty 并安装所需版本的 PyTorch 和 torchvision,例如: bash pip install torch torchvision
然后通过 pip 安装 TorchUncertainty: bash pip install torch-uncertainty
加载模型
加载模型的函数可在 scripts 目录中找到。
以上内容仅包含与数据集相关的信息,未涉及网站描述和其他无关内容。




