AliaksandrSiarohin / first-order-model

This repository contains the source code for the paper First Order Motion Model for Image Animation
https://aliaksandrsiarohin.github.io/first-order-model-website/
MIT License
14.47k stars 3.21k forks source link

Runtime error #271

Open docvader opened 4 years ago

docvader commented 4 years ago

I was trying to make a deep fake. First it gave a message that vox-cpk.pth.tar file was missing. But it was already there in my drive. After that its showing this message. I am.not a coder. Please help? Also, thank you for sharing this code with us

RuntimeError Traceback (most recent call last)

in () 1 from demo import load_checkpoints 2 generator, kp_detector = load_checkpoints(config_path='config/vox-256.yaml', ----> 3 checkpoint_path='/content/gdrive/My Drive/first-order-motion-model/vox-cpk.pth.tar') 10 frames /usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py in _lazy_init() 188 raise AssertionError( 189 "libcudart functions unavailable. It looks like you have a broken build?") --> 190 torch._C._cuda_init() 191 # Some of the queued calls may reentrantly call _lazy_init(); 192 # we need to just return without initializing in that case. RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:47
docvader commented 4 years ago

This is the error message i get even though i have both tar files in google drives directory properly named.

/usr/local/lib/python3.6/dist-packages/torch/serialization.py in init(self, name, mode) 208 class _open_file(_opener): 209 def init(self, name, mode): --> 210 super(_open_file, self).init(open(name, mode)) 211 212 def exit(self, *args):

FileNotFoundError: [Errno 2] No such file or directory: '/content/gdrive/My Drive/first-order-motion-model/vox-cpk.pth.tar