How to install XingangPan/DragGAN. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
XingangPan/DragGAN Installation Guide
How to install XingangPan/DragGAN. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for XingangPan/DragGAN. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i XingangPan/DragGANor
Install via npx
npx @hexmos/ipm i XingangPan/DragGANPrerequisites
Python
languageVersion: 3.8.0 or later
CUDA
system_toolFor GPU acceleration, install the CUDA toolkit from NVIDIA's website.
PyTorch
libraryVersion: 1.13.0 or later
Git
system_toolFor cloning the repository.
Docker
system_toolTo run the DragGAN GUI in Docker. Install from [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/).
StyleGAN3
package_managerVersion: latest
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Package Manager Installation
conda env create -f environment.yml
conda activate stylegan3
pip install -r requirements.txtDocker Installation
docker build . -t draggan:latest
docker run -p 7860:7860 -v "$PWD":/workspace/src -it draggan:latest bashGUI Installation
sh scripts/gui.shGradio Visualizer Installation
python visualizer_drag_gradio.py --listenPost Installation Steps
- Open the DragGAN Gradio demo by running `python visualizer_drag_gradio.py` in your terminal.
- You can access the demo at http://localhost:7860/.
