fudan-generative-vision / hallo2

Hallo2: Long-Duration and High-Resolution Audio-driven Portrait Image Animation
https://fudan-generative-vision.github.io/hallo2
MIT License
2.01k stars 298 forks source link

Invalid Decimal Literal #17

Open BAIS1C opened 3 days ago

BAIS1C commented 3 days ago

(hallo) F:\FF\hallo2\configs\inference>python long.yaml File "F:\FF\hallo2\configs\inference\long.yaml", line 38 model_path: ./pretrained_models/wav2vec/wav2vec2-base-960h ^ SyntaxError: invalid decimal literal

THE ^ is under the 0 in 960h

I have not amended this wav2vec entry in long.yaml

File directory has been checked it was cloned from hugging face as per git lfs install git clone https://huggingface.co/fudan-generative-ai/hallo2 pretrained_models

cuijh26 commented 3 days ago

python long.yaml This command is wrong. You should run this command: python scripts/inference_long.py --config ./configs/inference/long.yaml