Add 3 run(s) from code b1b75c4
Browse files- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0
- resnet18_normal_w1.0_f1.0_e1_s0
- teacher_normal_w1.0_f0.01_e30_s0
- README.md +21 -0
- index.json +82 -0
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/README.md +43 -0
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/config.json +48 -0
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/metrics.json +16 -0
- resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/weights.pt +3 -0
- resnet18_normal_w1.0_f1.0_e1_s0/README.md +42 -0
- resnet18_normal_w1.0_f1.0_e1_s0/config.json +48 -0
- resnet18_normal_w1.0_f1.0_e1_s0/metrics.json +16 -0
- resnet18_normal_w1.0_f1.0_e1_s0/weights.pt +3 -0
- teacher_normal_w1.0_f0.01_e30_s0/README.md +42 -0
- teacher_normal_w1.0_f0.01_e30_s0/config.json +48 -0
- teacher_normal_w1.0_f0.01_e30_s0/metrics.json +14 -0
- teacher_normal_w1.0_f0.01_e30_s0/weights.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
datasets:
|
| 4 |
+
- cifar100
|
| 5 |
+
tags:
|
| 6 |
+
- knowledge-distillation
|
| 7 |
+
- robustness
|
| 8 |
+
- cifar-100-c
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Does Robustness Transfer? Trained weights
|
| 12 |
+
|
| 13 |
+
A frozen DINOv2 ViT-B/14 teacher (+ linear head) distilled into two ~11M-parameter CIFAR-100 students (CIFAR ResNet-18, small ViT), plus from-scratch baselines and trend-line models. Each folder is one training run; its README says exactly what it is and which code commit produced it.
|
| 14 |
+
|
| 15 |
+
Download: `python push_weights.py pull --repo robust-distillation/weights-example-test [--run NAME]` from the project code.
|
| 16 |
+
|
| 17 |
+
| Run | Model | Mode | α | T | Seed | Test acc | C-100-C mean | Commit |
|
| 18 |
+
|---|---|---|---|---|---|---|---|---|
|
| 19 |
+
| [`resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0`](resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0) | CIFAR ResNet-18 w1.0 f1.0 e1 | distill | 0.5 | 4.0 | 0 | 1.35% | – | `b1b75c4` |
|
| 20 |
+
| [`resnet18_normal_w1.0_f1.0_e1_s0`](resnet18_normal_w1.0_f1.0_e1_s0) | CIFAR ResNet-18 w1.0 f1.0 e1 | normal | – | – | 0 | 1.28% | – | `b1b75c4` |
|
| 21 |
+
| [`teacher_normal_w1.0_f0.01_e30_s0`](teacher_normal_w1.0_f0.01_e30_s0) | DINOv2 ViT-B/14 teacher w1.0 f0.01 e30 | normal | – | – | 0 | – | – | `b1b75c4` |
|
index.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"runs": {
|
| 3 |
+
"resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0": {
|
| 4 |
+
"T": 4.0,
|
| 5 |
+
"alpha": 0.5,
|
| 6 |
+
"arch": "resnet18",
|
| 7 |
+
"cifar100c_mean": null,
|
| 8 |
+
"created": "2026-11-18T22:05:11+00:00",
|
| 9 |
+
"data_frac": 1.0,
|
| 10 |
+
"depth": null,
|
| 11 |
+
"epochs": 1,
|
| 12 |
+
"extra_mean": null,
|
| 13 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 14 |
+
"git_dirty": false,
|
| 15 |
+
"mode": "distill",
|
| 16 |
+
"params": 11220132,
|
| 17 |
+
"run_name": "resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0",
|
| 18 |
+
"seed": 0,
|
| 19 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 20 |
+
"teacher_run": "teacher_normal_w1.0_f0.01_e30_s0",
|
| 21 |
+
"test_acc": 0.0135,
|
| 22 |
+
"torch_version": "2.15.0",
|
| 23 |
+
"train_hours": 0.024,
|
| 24 |
+
"val_acc": 0.014,
|
| 25 |
+
"weights_mb": 22.5,
|
| 26 |
+
"weights_sha256": "b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fff",
|
| 27 |
+
"width": 1.0
|
| 28 |
+
},
|
| 29 |
+
"resnet18_normal_w1.0_f1.0_e1_s0": {
|
| 30 |
+
"T": null,
|
| 31 |
+
"alpha": null,
|
| 32 |
+
"arch": "resnet18",
|
| 33 |
+
"cifar100c_mean": null,
|
| 34 |
+
"created": "2026-11-18T22:03:32+00:00",
|
| 35 |
+
"data_frac": 1.0,
|
| 36 |
+
"depth": null,
|
| 37 |
+
"epochs": 1,
|
| 38 |
+
"extra_mean": null,
|
| 39 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 40 |
+
"git_dirty": false,
|
| 41 |
+
"mode": "normal",
|
| 42 |
+
"params": 11220132,
|
| 43 |
+
"run_name": "resnet18_normal_w1.0_f1.0_e1_s0",
|
| 44 |
+
"seed": 0,
|
| 45 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 46 |
+
"teacher_run": null,
|
| 47 |
+
"test_acc": 0.0128,
|
| 48 |
+
"torch_version": "2.15.0",
|
| 49 |
+
"train_hours": 0.011,
|
| 50 |
+
"val_acc": 0.0154,
|
| 51 |
+
"weights_mb": 22.5,
|
| 52 |
+
"weights_sha256": "906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32b",
|
| 53 |
+
"width": 1.0
|
| 54 |
+
},
|
| 55 |
+
"teacher_normal_w1.0_f0.01_e30_s0": {
|
| 56 |
+
"T": null,
|
| 57 |
+
"alpha": null,
|
| 58 |
+
"arch": "teacher",
|
| 59 |
+
"cifar100c_mean": null,
|
| 60 |
+
"created": "2026-11-18T21:56:42+00:00",
|
| 61 |
+
"data_frac": 0.01,
|
| 62 |
+
"depth": null,
|
| 63 |
+
"epochs": 30,
|
| 64 |
+
"extra_mean": null,
|
| 65 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 66 |
+
"git_dirty": false,
|
| 67 |
+
"mode": "normal",
|
| 68 |
+
"params": 76900,
|
| 69 |
+
"run_name": "teacher_normal_w1.0_f0.01_e30_s0",
|
| 70 |
+
"seed": 0,
|
| 71 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 72 |
+
"teacher_run": null,
|
| 73 |
+
"test_acc": null,
|
| 74 |
+
"torch_version": "2.15.0",
|
| 75 |
+
"train_hours": 0.113,
|
| 76 |
+
"val_acc": 0.669,
|
| 77 |
+
"weights_mb": 0.2,
|
| 78 |
+
"weights_sha256": "15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1",
|
| 79 |
+
"width": 1.0
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
}
|
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
datasets:
|
| 4 |
+
- cifar100
|
| 5 |
+
tags:
|
| 6 |
+
- knowledge-distillation
|
| 7 |
+
- robustness
|
| 8 |
+
- cifar-100-c
|
| 9 |
+
- resnet18
|
| 10 |
+
- distill
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0
|
| 14 |
+
|
| 15 |
+
CIFAR ResNet-18 (width 1.0), distilled from the teacher run `teacher_normal_w1.0_f0.01_e30_s0` (alpha=0.5, T=4.0), for 1 epochs on 100% of the 45k CIFAR-100 train split, seed 0.
|
| 16 |
+
|
| 17 |
+
| Metric | Value |
|
| 18 |
+
|---|---|
|
| 19 |
+
| Val accuracy (5k held-out train images) | 1.40% |
|
| 20 |
+
| Test accuracy (CIFAR-100, 10k) | 1.35% |
|
| 21 |
+
| CIFAR-100-C mean (15 corruptions x 5 severities) | – |
|
| 22 |
+
| CIFAR-100-C extra-4 mean | – |
|
| 23 |
+
|
| 24 |
+
## Where it came from
|
| 25 |
+
|
| 26 |
+
- Code: commit `b1b75c4`
|
| 27 |
+
- Trained: 2026-11-18T22:05:11+00:00, torch 2.15.0, 0.024 h
|
| 28 |
+
- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`
|
| 29 |
+
- Weights: fp16, 22.5 MB, 11,220,132 parameters, sha256 `b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fff`
|
| 30 |
+
- Teacher: [`teacher_normal_w1.0_f0.01_e30_s0`](../teacher_normal_w1.0_f0.01_e30_s0)
|
| 31 |
+
- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
|
| 32 |
+
|
| 33 |
+
## Load
|
| 34 |
+
|
| 35 |
+
From a checkout of the project code:
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
python push_weights.py pull --repo robust-distillation/weights-example-test --run resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0
|
| 39 |
+
```
|
| 40 |
+
```python
|
| 41 |
+
from eval import load_run_model
|
| 42 |
+
model, cfg = load_run_model("runs/resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0", "cpu")
|
| 43 |
+
```
|
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"T": 4.0,
|
| 3 |
+
"alpha": 0.5,
|
| 4 |
+
"arch": "resnet18",
|
| 5 |
+
"batch_size": 128,
|
| 6 |
+
"cifar_c_dir": null,
|
| 7 |
+
"created": "2026-11-18T22:05:11+00:00",
|
| 8 |
+
"cutmix_alpha": 1.0,
|
| 9 |
+
"data_dir": "./data",
|
| 10 |
+
"data_frac": 1.0,
|
| 11 |
+
"depth": null,
|
| 12 |
+
"deterministic": false,
|
| 13 |
+
"device": null,
|
| 14 |
+
"drop_path": 0.0,
|
| 15 |
+
"epochs": 1,
|
| 16 |
+
"fake_data": false,
|
| 17 |
+
"fake_teacher": false,
|
| 18 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 19 |
+
"git_dirty": false,
|
| 20 |
+
"grad_clip": 0.0,
|
| 21 |
+
"keep_checkpoint": false,
|
| 22 |
+
"label_smoothing": 0.0,
|
| 23 |
+
"lr": 0.1,
|
| 24 |
+
"max_steps": 5,
|
| 25 |
+
"mix_prob": 1.0,
|
| 26 |
+
"mixup_alpha": 0.8,
|
| 27 |
+
"mode": "distill",
|
| 28 |
+
"momentum": 0.9,
|
| 29 |
+
"no_amp": false,
|
| 30 |
+
"no_eval": false,
|
| 31 |
+
"no_strong_aug": false,
|
| 32 |
+
"num_workers": 0,
|
| 33 |
+
"optimizer": "sgd",
|
| 34 |
+
"overwrite": false,
|
| 35 |
+
"run_dir": "\u2026/resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0",
|
| 36 |
+
"run_name": null,
|
| 37 |
+
"runs_dir": "\u2026/runs",
|
| 38 |
+
"seed": 0,
|
| 39 |
+
"smoke": false,
|
| 40 |
+
"split_file": "splits/cifar100_train45k_val5k.npz",
|
| 41 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 42 |
+
"subset_seed": 0,
|
| 43 |
+
"teacher_head": "\u2026/teacher_normal_w1.0_f0.01_e30_s0/weights.pt",
|
| 44 |
+
"torch_version": "2.15.0",
|
| 45 |
+
"warmup_epochs": 0,
|
| 46 |
+
"weight_decay": 0.0005,
|
| 47 |
+
"width": 1.0
|
| 48 |
+
}
|
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/metrics.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "resnet18",
|
| 3 |
+
"best_epoch": 1,
|
| 4 |
+
"best_val_acc": 0.014,
|
| 5 |
+
"cifar100c_mean": null,
|
| 6 |
+
"epochs_completed": 1,
|
| 7 |
+
"mode": "distill",
|
| 8 |
+
"params": 11220132,
|
| 9 |
+
"run_name": "resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0",
|
| 10 |
+
"seed": 0,
|
| 11 |
+
"steps": 5,
|
| 12 |
+
"test_acc": 0.0135,
|
| 13 |
+
"train_finished": true,
|
| 14 |
+
"train_hours": 0.024,
|
| 15 |
+
"val_acc": 0.014
|
| 16 |
+
}
|
resnet18_distill_w1.0_f1.0_e1_a0.5_T4.0_s0/weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3ae45ee45d54761739f8f14a618b0e5a2b47bf2487beb69df4ba15b7c367fff
|
| 3 |
+
size 22496459
|
resnet18_normal_w1.0_f1.0_e1_s0/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
datasets:
|
| 4 |
+
- cifar100
|
| 5 |
+
tags:
|
| 6 |
+
- knowledge-distillation
|
| 7 |
+
- robustness
|
| 8 |
+
- cifar-100-c
|
| 9 |
+
- resnet18
|
| 10 |
+
- normal
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# resnet18_normal_w1.0_f1.0_e1_s0
|
| 14 |
+
|
| 15 |
+
CIFAR ResNet-18 (width 1.0), trained from scratch with cross-entropy (no teacher), for 1 epochs on 100% of the 45k CIFAR-100 train split, seed 0.
|
| 16 |
+
|
| 17 |
+
| Metric | Value |
|
| 18 |
+
|---|---|
|
| 19 |
+
| Val accuracy (5k held-out train images) | 1.54% |
|
| 20 |
+
| Test accuracy (CIFAR-100, 10k) | 1.28% |
|
| 21 |
+
| CIFAR-100-C mean (15 corruptions x 5 severities) | – |
|
| 22 |
+
| CIFAR-100-C extra-4 mean | – |
|
| 23 |
+
|
| 24 |
+
## Where it came from
|
| 25 |
+
|
| 26 |
+
- Code: commit `b1b75c4`
|
| 27 |
+
- Trained: 2026-11-18T22:03:32+00:00, torch 2.15.0, 0.011 h
|
| 28 |
+
- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`
|
| 29 |
+
- Weights: fp16, 22.5 MB, 11,220,132 parameters, sha256 `906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32b`
|
| 30 |
+
- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
|
| 31 |
+
|
| 32 |
+
## Load
|
| 33 |
+
|
| 34 |
+
From a checkout of the project code:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
python push_weights.py pull --repo robust-distillation/weights-example-test --run resnet18_normal_w1.0_f1.0_e1_s0
|
| 38 |
+
```
|
| 39 |
+
```python
|
| 40 |
+
from eval import load_run_model
|
| 41 |
+
model, cfg = load_run_model("runs/resnet18_normal_w1.0_f1.0_e1_s0", "cpu")
|
| 42 |
+
```
|
resnet18_normal_w1.0_f1.0_e1_s0/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"T": 4.0,
|
| 3 |
+
"alpha": 0.5,
|
| 4 |
+
"arch": "resnet18",
|
| 5 |
+
"batch_size": 128,
|
| 6 |
+
"cifar_c_dir": null,
|
| 7 |
+
"created": "2026-11-18T22:03:32+00:00",
|
| 8 |
+
"cutmix_alpha": 1.0,
|
| 9 |
+
"data_dir": "./data",
|
| 10 |
+
"data_frac": 1.0,
|
| 11 |
+
"depth": null,
|
| 12 |
+
"deterministic": false,
|
| 13 |
+
"device": null,
|
| 14 |
+
"drop_path": 0.0,
|
| 15 |
+
"epochs": 1,
|
| 16 |
+
"fake_data": false,
|
| 17 |
+
"fake_teacher": false,
|
| 18 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 19 |
+
"git_dirty": false,
|
| 20 |
+
"grad_clip": 0.0,
|
| 21 |
+
"keep_checkpoint": false,
|
| 22 |
+
"label_smoothing": 0.0,
|
| 23 |
+
"lr": 0.1,
|
| 24 |
+
"max_steps": 5,
|
| 25 |
+
"mix_prob": 1.0,
|
| 26 |
+
"mixup_alpha": 0.8,
|
| 27 |
+
"mode": "normal",
|
| 28 |
+
"momentum": 0.9,
|
| 29 |
+
"no_amp": false,
|
| 30 |
+
"no_eval": false,
|
| 31 |
+
"no_strong_aug": false,
|
| 32 |
+
"num_workers": 0,
|
| 33 |
+
"optimizer": "sgd",
|
| 34 |
+
"overwrite": false,
|
| 35 |
+
"run_dir": "\u2026/resnet18_normal_w1.0_f1.0_e1_s0",
|
| 36 |
+
"run_name": null,
|
| 37 |
+
"runs_dir": "\u2026/runs",
|
| 38 |
+
"seed": 0,
|
| 39 |
+
"smoke": false,
|
| 40 |
+
"split_file": "splits/cifar100_train45k_val5k.npz",
|
| 41 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 42 |
+
"subset_seed": 0,
|
| 43 |
+
"teacher_head": null,
|
| 44 |
+
"torch_version": "2.15.0",
|
| 45 |
+
"warmup_epochs": 0,
|
| 46 |
+
"weight_decay": 0.0005,
|
| 47 |
+
"width": 1.0
|
| 48 |
+
}
|
resnet18_normal_w1.0_f1.0_e1_s0/metrics.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "resnet18",
|
| 3 |
+
"best_epoch": 1,
|
| 4 |
+
"best_val_acc": 0.0154,
|
| 5 |
+
"cifar100c_mean": null,
|
| 6 |
+
"epochs_completed": 1,
|
| 7 |
+
"mode": "normal",
|
| 8 |
+
"params": 11220132,
|
| 9 |
+
"run_name": "resnet18_normal_w1.0_f1.0_e1_s0",
|
| 10 |
+
"seed": 0,
|
| 11 |
+
"steps": 5,
|
| 12 |
+
"test_acc": 0.0128,
|
| 13 |
+
"train_finished": true,
|
| 14 |
+
"train_hours": 0.011,
|
| 15 |
+
"val_acc": 0.0154
|
| 16 |
+
}
|
resnet18_normal_w1.0_f1.0_e1_s0/weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:906ab5cec063bea7af47cd90c09cb3a006d1a7a82ba30dc8618088edffffb32b
|
| 3 |
+
size 22496459
|
teacher_normal_w1.0_f0.01_e30_s0/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
datasets:
|
| 4 |
+
- cifar100
|
| 5 |
+
tags:
|
| 6 |
+
- knowledge-distillation
|
| 7 |
+
- robustness
|
| 8 |
+
- cifar-100-c
|
| 9 |
+
- teacher
|
| 10 |
+
- normal
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# teacher_normal_w1.0_f0.01_e30_s0
|
| 14 |
+
|
| 15 |
+
Linear head (768 -> 100) trained for 30 epochs (seed 0) on frozen DINOv2 ViT-B/14 CLS features. Only the head is stored here; the backbone is reloaded from torch.hub (facebookresearch/dinov2).
|
| 16 |
+
|
| 17 |
+
| Metric | Value |
|
| 18 |
+
|---|---|
|
| 19 |
+
| Val accuracy (5k held-out train images) | 66.90% |
|
| 20 |
+
| Test accuracy (CIFAR-100, 10k) | – |
|
| 21 |
+
| CIFAR-100-C mean (15 corruptions x 5 severities) | – |
|
| 22 |
+
| CIFAR-100-C extra-4 mean | – |
|
| 23 |
+
|
| 24 |
+
## Where it came from
|
| 25 |
+
|
| 26 |
+
- Code: commit `b1b75c4`
|
| 27 |
+
- Trained: 2026-11-18T21:56:42+00:00, torch 2.15.0, 0.113 h
|
| 28 |
+
- Train/val split: `splits/cifar100_train45k_val5k.npz`, sha256 `79d6f47b45a89433…`
|
| 29 |
+
- Weights: fp16, 0.2 MB, 76,900 parameters, sha256 `15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1`
|
| 30 |
+
- Every training argument: [`config.json`](config.json); all results: [`metrics.json`](metrics.json)
|
| 31 |
+
|
| 32 |
+
## Load
|
| 33 |
+
|
| 34 |
+
From a checkout of the project code:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
python push_weights.py pull --repo robust-distillation/weights-example-test --run teacher_normal_w1.0_f0.01_e30_s0
|
| 38 |
+
```
|
| 39 |
+
```python
|
| 40 |
+
from eval import load_run_model
|
| 41 |
+
model, cfg = load_run_model("runs/teacher_normal_w1.0_f0.01_e30_s0", "cpu")
|
| 42 |
+
```
|
teacher_normal_w1.0_f0.01_e30_s0/config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"T": 4.0,
|
| 3 |
+
"alpha": 0.5,
|
| 4 |
+
"arch": "teacher",
|
| 5 |
+
"batch_size": 512,
|
| 6 |
+
"cifar_c_dir": null,
|
| 7 |
+
"created": "2026-11-18T21:56:42+00:00",
|
| 8 |
+
"cutmix_alpha": 1.0,
|
| 9 |
+
"data_dir": "./data",
|
| 10 |
+
"data_frac": 0.01,
|
| 11 |
+
"depth": null,
|
| 12 |
+
"deterministic": false,
|
| 13 |
+
"device": null,
|
| 14 |
+
"drop_path": 0.0,
|
| 15 |
+
"epochs": 30,
|
| 16 |
+
"fake_data": false,
|
| 17 |
+
"fake_teacher": false,
|
| 18 |
+
"git_commit": "b1b75c4db3b916d3d8b0ef84f649562122c11f0e",
|
| 19 |
+
"git_dirty": false,
|
| 20 |
+
"grad_clip": 0.0,
|
| 21 |
+
"keep_checkpoint": false,
|
| 22 |
+
"label_smoothing": 0.0,
|
| 23 |
+
"lr": 0.001,
|
| 24 |
+
"max_steps": null,
|
| 25 |
+
"mix_prob": 1.0,
|
| 26 |
+
"mixup_alpha": 0.8,
|
| 27 |
+
"mode": "normal",
|
| 28 |
+
"momentum": 0.9,
|
| 29 |
+
"no_amp": false,
|
| 30 |
+
"no_eval": true,
|
| 31 |
+
"no_strong_aug": false,
|
| 32 |
+
"num_workers": 0,
|
| 33 |
+
"optimizer": "adamw",
|
| 34 |
+
"overwrite": false,
|
| 35 |
+
"run_dir": "\u2026/teacher_normal_w1.0_f0.01_e30_s0",
|
| 36 |
+
"run_name": null,
|
| 37 |
+
"runs_dir": "\u2026/runs",
|
| 38 |
+
"seed": 0,
|
| 39 |
+
"smoke": false,
|
| 40 |
+
"split_file": "splits/cifar100_train45k_val5k.npz",
|
| 41 |
+
"split_sha256": "79d6f47b45a89433eb73b112ad6c0a0128f8a6a740683440f4efc89f9c31ba39",
|
| 42 |
+
"subset_seed": 0,
|
| 43 |
+
"teacher_head": null,
|
| 44 |
+
"torch_version": "2.15.0",
|
| 45 |
+
"warmup_epochs": 0,
|
| 46 |
+
"weight_decay": 0.0001,
|
| 47 |
+
"width": 1.0
|
| 48 |
+
}
|
teacher_normal_w1.0_f0.01_e30_s0/metrics.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "teacher",
|
| 3 |
+
"best_epoch": 28,
|
| 4 |
+
"best_val_acc": 0.669,
|
| 5 |
+
"epochs_completed": 30,
|
| 6 |
+
"mode": "normal",
|
| 7 |
+
"params": 76900,
|
| 8 |
+
"run_name": "teacher_normal_w1.0_f0.01_e30_s0",
|
| 9 |
+
"seed": 0,
|
| 10 |
+
"steps": 30,
|
| 11 |
+
"train_finished": true,
|
| 12 |
+
"train_hours": 0.113,
|
| 13 |
+
"val_acc": 0.669
|
| 14 |
+
}
|
teacher_normal_w1.0_f0.01_e30_s0/weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15f2c1d2af5570be0a3ad9a7f89f0eae16ea7d244b695d51c39629c3ada81dd1
|
| 3 |
+
size 155709
|