Downloads · 30 days
0
WestAI-SC/high_fidelity_video_background_music_generation_with_transformers
high_fidelity_video_background_music_generation_with_transformers is a machine learning model from WestAI-SC. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains the pretrained models for the adaptation of MusicGen(https://arxiv.org/abs/2306.05284) to video-based music generation, which have been created during my master's thesis at RWTH Aachen Univers…
Downloads · 30 days
0
Access
Public
Updated Jun 10, 2024
Repo size
83.3 GB
Likes
21
Trending 7
Click a slice to open those files.
.pt80.7 GB · 100%
From the Hugging Face model README
This repository contains the pretrained models for the adaptation of MusicGen(https://arxiv.org/abs/2306.05284) to video-based music generation, which have been created during my master's thesis at RWTH Aachen University.
Current AI music generation models are mainly controlled with a single input modality: text. Adapting these models to accept alternative input modalities extends their field of use. Video input is one such modality, with remarkably different requirements for the generation of background music accompanying it. Even though alternative methods for generating video background music exist, none achieve the music quality and diversity of the text-based models. Hence, this thesis aims to efficiently reuse text-based models' high-fidelity music generation capabilities by adapting them for video background music generation. This is accomplished by training a model to represent video information inside a format that the text-based model can naturally process. To test the capabilities of our approach, we apply two datasets for model training with various levels of variation in the visual and audio parts. We evaluate our approach by analyzing the audio quality and diversity of the results. A case study is also performed to determine the video encoder's ability to capture the video-audio relationship successfully.
2.1.0 with CUDA enabled by following the instructions from https://pytorch.org/get-started/previous-versions/pip install git+https://github.com/IntelliNik/audiocraft.git@mainpip install peft moviepy omegaconfpython app.py
nature, peft=true, largeFor any questions feel free to contact me at [email protected]