Doven
commited on
Commit
·
0de66be
1
Parent(s):
154c92e
update
Browse files
README.md
CHANGED
@@ -1,3 +1,42 @@
|
|
1 |
---
|
2 |
license: unknown
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: unknown
|
3 |
---
|
4 |
+
|
5 |
+
|
6 |
+
# ViTTiny1022
|
7 |
+
The dataset for [Recurrent Diffusion for Large-Scale Parameter Generation]().
|
8 |
+
|
9 |
+
|
10 |
+
## Requirement
|
11 |
+
### Install torch and other dependencies.
|
12 |
+
```shell
|
13 |
+
conda install pytorch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 pytorch-cuda=12.1 -c pytorch -c nvidia
|
14 |
+
pip install timm einops seaborn openpyxl
|
15 |
+
```
|
16 |
+
|
17 |
+
|
18 |
+
## Usage
|
19 |
+
### Test one checkpoint
|
20 |
+
```shell
|
21 |
+
cd ViTTiny1022
|
22 |
+
python test.py ./chechpoint_test/0000_acc0.9613_class0314_condition_cifar10_vittiny.pth
|
23 |
+
# python test.py <path/to/the/file/you/want/to/test.pth>
|
24 |
+
```
|
25 |
+
### Test some checkpoints
|
26 |
+
```shell
|
27 |
+
cd ViTTiny1022
|
28 |
+
python test.py ./chechpoint_test
|
29 |
+
# python test.py <path/to/the/folder/containing/files/you/want/to/test>
|
30 |
+
```
|
31 |
+
### Test the detail of one checkpoint
|
32 |
+
```shell
|
33 |
+
cd ViTTiny1022
|
34 |
+
python detail.py ./chechpoint_test/0000_acc0.9613_class0314_condition_cifar10_vittiny.pth
|
35 |
+
# python detail.py <path/to/the/file/you/want/to/test.pth>
|
36 |
+
```
|
37 |
+
### Train from source
|
38 |
+
```shell
|
39 |
+
cd ViTTiny1022
|
40 |
+
bash train.sh
|
41 |
+
bash split.sh
|
42 |
+
```
|