GANTheftAuto icon indicating copy to clipboard operation
GANTheftAuto copied to clipboard

can't run inference

Open barinov274 opened this issue 4 years ago • 3 comments

max@pop-os:/media/max/Data1/GANTheftAuto$ ./scripts/gtav_inference_demo.sh Traceback (most recent call last): File "/media/max/Data1/GANTheftAuto/inference.py", line 273, in inference(opts.gpu, opts) File "/media/max/Data1/GANTheftAuto/inference.py", line 91, in inference torch.cuda.set_device(gpu) File "/home/max/.local/lib/python3.9/site-packages/torch/cuda/init.py", line 264, in set_device torch._C._cuda_setDevice(device) File "/home/max/.local/lib/python3.9/site-packages/torch/cuda/init.py", line 172, in _lazy_init torch._C._cuda_init() RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

barinov274 avatar Jun 22 '21 05:06 barinov274

Do you have Nvidia GPU in your system, with drivers installed and CUDA + cuDNN installed as well? Please provide more information about your issue.

daniel-kukiela avatar Jun 22 '21 10:06 daniel-kukiela

I don't have it. I have Radeon RX 580 and openCL. Can I use OpenCL instead of Nvidia CUDA?

barinov274 avatar Jun 22 '21 11:06 barinov274

Currently, ROCm is not supported. This is based on Nvidia's GameGAN and requires Nvidia's GPU. Since we do not own any AMD GPUs, we are open for contribution to make it work.

daniel-kukiela avatar Jun 22 '21 11:06 daniel-kukiela