Face-Image-Motion-Model
Face-Image-Motion-Model copied to clipboard
TypeError: ord() expected a character, but string of length 0 found
when I run the colab notebook at the block "Transform image", it raises the error: "TypeError: ord() expected a character, but string of length 0 found"
Preparing videos and photos for transformation
TypeError Traceback (most recent call last)
2 frames /usr/local/lib/python3.6/dist-packages/torch/serialization.py in _is_zipfile(f) 74 match = True 75 for magic_byte, read_byte in zip(magic_number, read_bytes): ---> 76 if ord(magic_byte) != ord(read_byte): 77 match = False 78 break
TypeError: ord() expected a character, but string of length 0 found
How should I solve it? Many thanks!
I find that it is because the file "vox-cpk.pth.tar" is an empty file with 0 bytes. Any solution for this? Many thanks!
Download from here and upload
https://www.kaggle.com/datasets/rkuo2000/first-order-motion-model?resource=download