SODA / README.md
XinyueBi's picture
README: CIFAR-100 IPC1 uses ep0006 snapshots
5ebf89d verified
|
Raw History Blame Contribute Delete
1.9 kB
---
library_name: pytorch
tags:
- dataset-distillation
- knowledge-distillation
---
# SODA teacher checkpoints
These are the pre-trained teacher models used in the **recover** stage (synthesising images) and the **relabel** stage (soft labels) of SODA. Every model listed here was trained by us. The ImageNet-1K IPC50 setting uses the official torchvision `IMAGENET1K_V1` weights, so those are not included.
The folder layout is the same as the code's `pretrained_models/` directory, so you can download it straight into place:
```bash
hf download XinyueBi/SODA --local-dir $Main_Data_Path/pretrained_models
```
## Which teachers each setting uses
Within a setting, recover and relabel use the same teachers. There are 4 per setting (ResNet18, DenseNet121, MobileNetV2 and ShuffleNetV2) unless the table says otherwise.
| Dataset | IPC | Checkpoints |
|---|---|---|
| CIFAR-100 | 1 | `cifar100/*_e50_rc/snapshots/*_ep0006.pth` (epoch-6 snapshot) |
| CIFAR-100 | 10, 50 | `cifar100/*_e50_rc/snapshots/*_ep0050.pth` |
| Tiny-ImageNet | 1 | `tiny_imagenet/*_e20_rc/snapshots/*_ep0020.pth` (ResNet18, MobileNetV2 and ShuffleNetV2 only) |
| Tiny-ImageNet | 10, 50 | `tiny_imagenet/*_e50_rc/snapshots/*_ep0050.pth` |
| ImageNette | 1, 10 | `imagenet-nette/*_e50_rc/snapshots/*_ep0010.pth` (epoch-10 snapshot) |
| ImageNette | 50 | `imagenet-nette/*_e300_rc/snapshots/*_ep0300.pth` |
| ImageWoof | 1 | `imagewoof/*_e10_rc/snapshots/*_ep0010.pth` |
| ImageWoof | 10 | `imagewoof/*_e30_rc/snapshots/*_ep0030.pth` |
| ImageWoof | 50 | `imagewoof/*_e300_rc/snapshots/*_ep0300.pth` |
| ImageNet-1K | 1, 10 | `imagenet1k/*_e90_rc/snapshots/*_ep0090.pth` |
| ImageNet-1K | 50 | torchvision `IMAGENET1K_V1` weights (not in this repo) |
`_rc` means the teacher was trained with RandomResizedCrop augmentation. `eN` is the length of the training schedule, and `epNNNN` is the snapshot that was used.