XingangPan / DragGAN

Official Code for DragGAN (SIGGRAPH 2023)

Home Page:https://vcai.mpi-inf.mpg.de/projects/DragGAN/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault (core dumped)

hanswang1 opened this issue · comments

Hi DragGAN team,

I got below error when I starting gui.sh, no tips from the error. What should I do?

(stylegan3) admin@k8s:~/2d/DragGAN$ sh scripts/gui.sh
Loading "/home/2d/DragGAN/checkpoints/stylegan2_lions_512_pytorch.pkl"... Done.
()
{'z_dim': 512, 'c_dim': 0, 'w_dim': 512, 'img_resolution': 512, 'img_channels': 3, 'mapping_kwargs': {'num_layers': 8, 'embed_features': None, 'layer_features': None, 'activation': 'lrelu', 'lr_multiplier': 0.01, 'w_avg_beta': 0.995}, 'synthesis_kwargs': {'channel_base': 32768, 'channel_max': 512, 'num_fp16_res': 0, 'conv_clamp': None, 'architecture': 'skip', 'resample_filter': [1, 3, 3, 1], 'use_noise': True, 'activation': 'lrelu'}}
Setting up PyTorch plugin "bias_act_plugin"... Done.
Segmentation fault (core dumped)

On Mac M1/M2, please do not execute "sh ./scripts/gui.sh" and it does not work for me either. Instead, please call the command "python visualizer_drag_gradio.py" and everything will work fine.