Skip to content

Commit ba0a03c

Browse files
committed
update README
1 parent 833b2a0 commit ba0a03c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

diffusion/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Specifically,
5151
* `masks` stores the difference masks between the original images and the edited images in `.npy` format.
5252
* `gt` stores the corresponding ground-truth images from [LSUN Church](https://github.com/fyu/lsun) dataset.
5353

54+
If the dataset downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
55+
5456
## Get Started
5557

5658
### DDPM
@@ -73,7 +75,7 @@ We provide [![colab](https://colab.research.google.com/assets/colab-badge.svg)](
7375
--use_pretrained --save_dir results/sige_ddpm
7476
```
7577

76-
The generated images will be stored in `results/vanilla_ddpm` and `results/sige_ddpm` correspondingly.
78+
The generated images will be stored in `results/vanilla_ddpm` and `results/sige_ddpm` correspondingly. If the model downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
7779

7880
**Notice**: For SIGE inference, current codebase only supports caching the activations of a single step. As the diffusion models require multiple denoising steps, for each step, we first forward use the original model to pre-compute the activations and then forward the SIGE model to get the results.
7981

@@ -131,7 +133,7 @@ We provide [![colab](https://colab.research.google.com/assets/colab-badge.svg)](
131133
--use_pretrained --save_dir results/sige_pd
132134
```
133135

134-
The generated images will be stored in `results/vanilla_pd` and `results/sige_pd` correspondingly.
136+
The generated images will be stored in `results/vanilla_pd` and `results/sige_pd` correspondingly. If the model downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
135137

136138
**Notice**: For SIGE inference, current codebase only supports caching the activations of a single step. As the diffusion models require multiple denoising steps, for each step, we first forward use the original model to pre-compute the activations and then forward the SIGE model to get the results.
137139

diffusion_demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SIGE achieves 2x less conversion time compared to original DDPM on M1 MacBook Pr
4545
python start.py --config_path configs/church_dpmsolver256-sige.yml
4646
```
4747

48-
By default, these commands will test results on GPU if GPU is available. You can also explicitly specify the device with `--device`.
48+
By default, these commands will test results on GPU if GPU is available. You can also explicitly specify the device with `--device`. If the model downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
4949

5050

5151
## Acknowledgement

gaugan/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Specifically,
5454
* `synthetic_instances` and `synthetic_labels` store the synthetic instance labels and semantic labels, respectively.
5555
* `masks` stores the difference masks between the synthetic semantic maps and the corresponding ground-truth semantic maps in `.npy` format.
5656

57+
If the dataset downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
58+
5759
## Get Started
5860

5961
We provide [![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lmxyy/sige/blob/main/gaugan/gaugan.ipynb) to quickly test GauGAN model with SIGE.
@@ -88,6 +90,7 @@ We provide [![colab](https://colab.research.google.com/assets/colab-badge.svg)](
8890

8991
* The results will be saved in the directory specified with `--save_dir`. For the generated results, `$id_synthetic.png` means using the synthetic map `$id` as the edited input and the corresponding ground-truth map as the original input. `$id_gt.png` means using the synthetic map `$id` as the original input and the corresponding ground-truth map as the edited input.
9092
* You could use `--dont_save_label` option to skip saving the input semantic maps in your results.
93+
* If the model downloading is too slow for you, you can switch the download source from our website to Google Drive with `--download_tool gdown`.
9194

9295
* Metric Measurement:
9396

sige/nn/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def load_runtime(self, function_name: str, runtime_dict: Dict = None):
4545
os.environ["SIGE_METAL_LIB_PATH"] = os.path.abspath(
4646
os.path.join(os.path.dirname(module.__file__), "..", "sige.metallib")
4747
)
48-
print(os.environ["SIGE_METAL_LIB_PATH"])
4948
except (ModuleNotFoundError, AttributeError):
5049
runtime_dict[device] = None
5150
return runtime_dict

0 commit comments

Comments
 (0)