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