pull/86/merge
Andrew Nekrassov 2 years ago committed by GitHub
commit 2010ccf83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -114,6 +114,14 @@ You can run DragGAN Gradio demo as well, this is universal for both windows and
python visualizer_drag_gradio.py
```
If you are running the project under WSL2, do the following:
1. ```Install Conda ```
2. PyOpenGL must be version 3.1.5
3. ```conda install -c conda-forge libstdcxx-ng```
4. gui_utils/glfw_window.py - replace the variables self.monitor_width & self.monitor_height in the set_window_size function with your own variables (for example 1920x1080).
5. ```python visualizer_drag.py```
## Acknowledgement
This code is developed based on [StyleGAN3](https://github.com/NVlabs/stylegan3). Part of the code is borrowed from [StyleGAN-Human](https://github.com/stylegan-human/StyleGAN-Human).

@ -306,9 +306,7 @@ with gr.Blocks() as app:
with gr.Column(scale=8):
form_image = ImageMask(
value=global_state.value['images']['image_show'],
brush_radius=20).style(
width=768,
height=768) # NOTE: hard image size code here.
brush_radius=20)
gr.Markdown("""
## Quick Start

Loading…
Cancel
Save