Skip to content

Commit 9add769

Browse files
authored
Create README.md
1 parent e8c7e3b commit 9add769

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

generation/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Setup
2+
3+
Complete the `local.yaml` file.
4+
5+
## Run
6+
7+
You can generate images of LoFT, DataDream-class, or DataDream-dataset methods with the following commands. The example is on the eurosat dataset. It will generate 500 images for each class. You can change the number of generated images by changing `$NIPC` in the `run.sh` file.
8+
9+
```bash
10+
### LoFT
11+
12+
CUDA_VISIBLE_DEVICES=0 bash run.sh eurosat loft
13+
```
14+
15+
```bash
16+
### DataDream-class
17+
18+
CUDA_VISIBLE_DEVICES=0 bash run.sh eurosat datadream-cls
19+
```
20+
21+
```bash
22+
### DataDream-dataset
23+
24+
CUDA_VISIBLE_DEVICES=0 bash run.sh eurosat datadream-dset
25+
```

0 commit comments

Comments
 (0)