speech-driven-animation
speech-driven-animation copied to clipboard
something wrong with torchaudio,neeed help
as the title,torchaudio in ubuntu
error: RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined
you can comment all the use of torchaudio in sda.py and use the code
import sda import scipy.io.wavfile as wav from PIL import Image va = sda.VideoAnimator(gpu=0)# Instantiate the aminator fs, audio_clip = wav.read("example/audio.wav") frame = Image.open("example/image.bmp") vid, aud = va(frame, audio_clip, fs=fs)
and there are some small bugs in the code you can change it in the VideoAnimator
as the title,torchaudio in ubuntu
error: RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined
I run the code in colab ,and get the same error as yours,name 'Optional' is not defined then I run the code in windows, I comment the(import torchvision) in sda.py run the code import sda import scipy.io.wavfile as wav from PIL import Image va = sda.VideoAnimator(gpu=0)# Instantiate the aminator fs, audio_clip = wav.read("example/audio.wav") frame = Image.open("example/image.bmp") vid, aud = va(frame, audio_clip, fs=fs) but get an error _pickle.UnpicklingError: invalid load key, 'v'.
as the title,torchaudio in ubuntu error: RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined
I run the code in colab ,and get the same error as yours,name 'Optional' is not defined then I run the code in windows, I comment the(import torchvision) in sda.py run the code import sda import scipy.io.wavfile as wav from PIL import Image va = sda.VideoAnimator(gpu=0)# Instantiate the aminator fs, audio_clip = wav.read("example/audio.wav") frame = Image.open("example/image.bmp") vid, aud = va(frame, audio_clip, fs=fs) but get an error _pickle.UnpicklingError: invalid load key, 'v'.
@erjihaoshi you should install git LFS and re-use git clone to download this repo
I do as you said but i get nothing in my ./sda/data @
@erjihaoshi see https://github.com/DinoMan/speech-driven-animation/issues/51