Audiocraft音頻生成深度學習庫
Audiocraft 是用于音頻生成的深度學習庫。它使用深度學習進行音頻處理和生成,具有最先進的 EnCodec 音頻壓縮器/分詞器,以及 MusicGen——簡單且可控的音樂生成大模型,具有文本和旋律調節(jié)功能。
運行 Audiocraft 的環(huán)境要求:
- Python 3.9
- PyTorch 2.0.0
- 內存至少為 16 GB 的 GPU(對于中型模型)
如需安裝 Audiocraft,運行以下命令:
# Best to make sure you have torch installed first, in particular before installing xformers.
# Don't run this if you already have PyTorch installed.
pip install 'torch>=2.0'
# Then proceed to one of the following
pip install -U audiocraft # stable release
pip install -U git+https://[email protected]/facebookresearch/audiocraft#egg=audiocraft # bleeding edge
pip install -e . # or if you cloned the repo locally評論
圖片
表情
