No Output/Result on Run
I've installed per documentation. When trying to run an inference, here is the console output:
python generate.py --ref_path='Face.jpg' --aud_path='Audio.wav' --seed 15 --a_cfg_scale 2 --e_cfg_scale 1 --ckpt_path ./checkpoints/float.pth --no_crop
/run/media/tokenwizard/AI-Stuff/float/venv/lib/python3.8/site-packages/albumentations/__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.5 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
check_for_updates()
Some weights of the model checkpoint at ./checkpoints/wav2vec2-base-960h were not used when initializing Wav2VecModel: ['lm_head.weight', 'lm_head.bias']
- This IS expected if you are initializing Wav2VecModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing Wav2VecModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of Wav2VecModel were not initialized from the model checkpoint at ./checkpoints/wav2vec2-base-960h and are newly initialized: ['wav2vec2.masked_spec_embed']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
/run/media/tokenwizard/AI-Stuff/float/venv/lib/python3.8/site-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.__get__(instance, owner)()
There is no mention of any output file and I do not see any sort of output/result in the working folder or the "results" folder.
I have the same problem. May I ask if you have solved it now? If so, could you please tell me how you solved it
Don´t you get the video output in the results directory?
I got results/2025-05-17T21-03-19-Mila_Kunis_512x512_1-output_audio-nfe10-seed15-acfg2.0-ecfg1.0-None.mp4
https://github.com/user-attachments/assets/adfdaf95-7543-4a3d-b136-861979edf8cd
Same problem. Any solution on this?
Same problem. Any solution on this?
Did you check the results folder?
yes. I checked the results folder. I figured out the issue. This is because of not installing ffmpeg. After installing it, everything works well. Thank you
Yes, torchvision uses PyAV and this is a wrapper for ffmpeg lamentably Python packages can't solve it.
I am having the same issue, even after installing ffmpeg. I am using test images and audio provided in the repo. What could be the issue?
I have the same problem and solved it just by installing ffmpeg:
sudo apt install ffmpeg -y
Facing the similar issue. Installed ffmpeg, reactivate conda env, but still the same issue. No results appearing in results folder.
Try changing the ref_image. If the image is too close up, it won't be able to find any face, thus failing.