Skip to content

Commit

Permalink
Datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
Renchunzi-Xie committed Nov 4, 2024
1 parent 2ee7bb3 commit 8621481
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,54 @@ We conduct large-scale experiments under several distribution shifts with ResNet
<img src="https://github.com/user-attachments/assets/94f84f43-eabe-4d0c-9557-6a22063d2759" height="250">
</p>

## Datasets
### Pre-trained process

1. CIFAR10 & CIFAR-100 can be downloaded in the code.
2. Download TinyImageNet
```angular2html
wget http://cs231n.stanford.edu/tiny-imagenet-200.zip
```
3. Download ImageNet
```angular2html
https://www.kaggle.com/competitions/imagenet-object-localization-challenge/data
```
4. Download Office-Home
```angular2html
pip install gdown==4.6.0
gdown https://drive.google.com/uc?id=1JMFEHM46xmgp2RSX6iVgcR5fCpZkeruJ
```
5. Download PACS
```angular2html
https://www.kaggle.com/datasets/nickfratto/pacs-dataset
```
6. Download DomainNet
```angular2html
wget http://csr.bu.edu/ftp/visda/2019/multi-source/groundtruth/clipart.zip
wget http://csr.bu.edu/ftp/visda/2019/multi-source/infograph.zip
wget http://csr.bu.edu/ftp/visda/2019/multi-source/groundtruth/painting.zip
wget http://csr.bu.edu/ftp/visda/2019/multi-source/quickdraw.zip
wget http://csr.bu.edu/ftp/visda/2019/multi-source/real.zip
wget http://csr.bu.edu/ftp/visda/2019/multi-source/sketch.zip
```
### Evaluation process
1. Download CIFAR-10C & CIFAR-100C
```angular2html
curl -O https://zenodo.org/record/2535967/files/CIFAR-10-C.tar
curl -O https://zenodo.org/record/3555552/files/CIFAR-100-C.tar
```
2. Download TinyImageNet-C
```angular2html
wget http://cs231n.stanford.edu/tiny-imagenet-200.zip
```
3. Download ImageNet-C
```angular2html
curl -O https://zenodo.org/record/2235448/files/blur.tar
curl -O https://zenodo.org/record/2235448/files/digital.tar
curl -O https://zenodo.org/record/2235448/files/extra.tar
curl -O https://zenodo.org/record/2235448/files/noise.tar
curl -O https://zenodo.org/record/2235448/files/weather.tar
```
## Installation

## Modules
Expand Down

0 comments on commit 8621481

Please sign in to comment.