Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
XingangPan committed Jun 29, 2023
1 parent 15e0565 commit 67d7a7c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ cat environment.yml | \
grep -v -E 'nvidia|cuda' > environment-no-nvidia.yml && \
conda env create -f environment-no-nvidia.yml
conda activate stylegan3

# On MacOS
export PYTORCH_ENABLE_MPS_FALLBACK=1
```

## Run Gradio visualizer in Docker
Expand All @@ -78,10 +81,6 @@ cd src && python visualizer_drag_gradio.py
Now you can open a shared link from Gradio (printed in the terminal console).
Beware the Docker image takes about 25GB of disk space!

# On MacOS
export PYTORCH_ENABLE_MPS_FALLBACK=1
```
## Download pre-trained StyleGAN2 weights

To download pre-trained weights, simply run:
Expand Down

0 comments on commit 67d7a7c

Please sign in to comment.