Views
No views yet
[!Note] These model weights have been reproduced with the released code and yield slightly different evaluation results compared to those reported in the original paper.
| dataset | 🤗 hf model repo | params |
|---|---|---|
| Animal-Faces | sphere-l-af | 642M |
| Oxford-Flowers | sphere-l-of | 948M |
| ImageNet | sphere-l-imagenet | 950M |
| ImageNet | sphere-xl-imagenet | 1.3B |
./workspace/experiments.
The directory tree should look like this:1./workspace/experiments/
2├── sphere-l-af
3 ├── ckpt/ep0999.pth
4 |── config.json
5├── sphere-l-of
6|── sphere-l-imagenet
7|── sphere-xl-imagenetCFG = 1.4:1# --job_dir can be
2# sphere-l-imagenet, or sphere-xl-imagenet
3
4./run.sh eval.py \
5 --job_dir sphere-xl-imagenet \
6 --forward_steps 1 4 \
7 --report_fid rfid gfid \
8 --use_cfg True \
9 --cfg_min 1.4 \
10 --cfg_max 1.4 \
11 --cfg_position combo \
12 --rm_folder_after_eval True./workspace/experiments/sphere-xl-imagenet/eval/:| dataset | model | steps | rFID ↓ | gFID ↓ | IS ↑ |
|---|---|---|---|---|---|
| ImageNet 256x256 | Sphere-L | 1 | 0.62 | 15.69 | 274.5 |
| Sphere-L | 4 | - | 4.78 | 259.1 | |
| Sphere-XL | 1 | 0.62 | 14.52 | 299.3 | |
| Sphere-XL | 4 | - | 4.05 | 266.0 |
1./run.sh eval.py \
2 --job_dir sphere-l-af \
3 --forward_steps 1 4 \
4 --report_fid gfid \
5 --rm_folder_after_eval True| dataset | model | steps | rFID ↓ | gFID ↓ | IS ↑ |
|---|---|---|---|---|---|
| Animal-Faces 256x256 | Sphere-L | 1 | - | 21.56 | 8.3 |
| Sphere-L | 4 | - | 18.73 | 9.8 |
CFG = 1.4:1./run.sh eval.py \
2 --job_dir sphere-l-of \
3 --forward_steps 1 4 \
4 --report_fid gfid \
5 --use_cfg True \
6 --cfg_min 1.6 \
7 --cfg_max 1.6 \
8 --cfg_position combo \
9 --num_eval_samples 51000 \
10 --rm_folder_after_eval True \
11 --cache_sampling_noise False \--num_eval_samples = 51000 are set for 102 classes such that each class has 500 samples for evaluation on 8 gpus.
Adjust them accordingly if you have different number of gpus or want to evaluate on different number of samples.| dataset | model | steps | rFID ↓ | gFID ↓ | IS ↑ |
|---|---|---|---|---|---|
| Oxford-Flowers 256x256 | Sphere-L | 1 | - | 25.10 | 3.4 |
| Sphere-L | 4 | - | 11.27 | 3.2 |