dunnousername / yanderifier

First-Order-Wrapper (formerly known as Yanderify) is a front-end tool for first-order-motion. It aims to make using first-order-motion face animation accessible to everyone, for education and entertainment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generic_type: cannot initialize type "_CudaDeviceProperties": an object with that name is already defined

maeligg opened this issue · comments

Steps to reproduce :

  • Using v4.0.3-stable on Windows 10
  • I downloaded the checkpoint and placed it in the same directory as yanderify.exe
  • I'm using the sample input files from the master branch
  • I'm running on the GPU (RTX 2070)

Error log :

Error: received a RuntimeError at stage "predict".
Message: "generic_type: cannot initialize type "_CudaDeviceProperties": an object with that name is already defined"
Full traceback:
  File "yanderify.py", line 229, in worker_thread

  File "yanderify.py", line 184, in make_animation_batch

  File "torch\cuda\__init__.py", line 162, in _lazy_init
    torch._C._cuda_init()

I don't have much xp with python or cuda so I'm not sure what the problem could be, an ideas ?

Looks like some issue related to CUDA potentially. Are you using the latest stable drivers for your GPU? Alternatively try CPU Mode but that is unfortunately much slower or a different Yanderify version, like v2.0.5 or the new alpha if that somehow fixes itself.

Thanks, indeed must be an issue with my CUDA install. My drivers are up to date and I tried to reinstall pytorch + CUDA from scratch but no dice. It works fine enough on the CPU so that's what I'll be using.