驚艷!dragGAN官方開源啦~本地搶先體驗

Setting up PyTorch plugin "bias_act_plugin"... Failed!
Traceback (most recent call last):
?File "e:\DragGAN\visualizer_drag_gradio.py", line 208, in <module>
??global_state = init_images(global_state)
?File "e:\DragGAN\visualizer_drag_gradio.py", line 76, in init_images
??state["renderer"].init_network(
?File "e:\DragGAN\viz\renderer.py", line 248, in init_network
??w = G.mapping(z, label, truncation_psi=trunc_psi, truncation_cutoff=trunc_cutoff)
?File "C:\Users\charl\miniconda3\envs\drag-gan\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
??return forward_call(*args, **kwargs)
?File "e:\DragGAN\training\networks_stylegan2.py", line 247, in forward
??x = layer(x)
?File "C:\Users\charl\miniconda3\envs\drag-gan\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
??return forward_call(*args, **kwargs)
?File "e:\DragGAN\training\networks_stylegan2.py", line 125, in forward
??x = bias_act.bias_act(x, b, act=self.activation)
?File "e:\DragGAN\torch_utils\ops\bias_act.py", line 84, in bias_act
??if impl == 'cuda' and x.device.type == 'cuda' and _init():
?File "e:\DragGAN\torch_utils\ops\bias_act.py", line 41, in _init
??_plugin = custom_ops.get_plugin(
?File "e:\DragGAN\torch_utils\custom_ops.py", line 84, in get_plugin
??raise RuntimeError(f'Could not find MSVC/GCC/CLANG installation on this computer. Check _find_compiler_bindir() in "{__file__}".')
RuntimeError: Could not find MSVC/GCC/CLANG installation on this computer. Check _find_compiler_bindir() in "e:\DragGAN\torch_utils\custom_ops.py".
求大佬解惑。。。