SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.16429 · 2023

Diverse and Aligned Audio-to-Video Generation via Text-to-Video Model Adaptation

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 10 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
guyyariv/TempoTokens canonical 5 of 10
FunctionStatusWhere it lives
contrastive_loss Ran guyyariv/TempoTokens/modules/text_encoder/modeling_clip_tempotokens.py
code served (permissive licence) · get_code("4675779aec92d6c0")
find_local_max_indexes Ran guyyariv/TempoTokens/av_align.py
code served (permissive licence) · get_code("6466d03cb91f356e")
gelu Ran guyyariv/TempoTokens/modules/beats/modules.py
code served (permissive licence) · get_code("f30ebf4e48b7e2d7")
l2norm Ran guyyariv/TempoTokens/modules/beats/quantizer.py
code served (permissive licence) · get_code("eca6cdf05972a95e")
sample_vectors Ran guyyariv/TempoTokens/modules/beats/quantizer.py
code served (permissive licence) · get_code("ada1d74afbd92171")
clip_loss Not yet run guyyariv/TempoTokens/modules/text_encoder/modeling_clip_tempotokens.py
code served (permissive licence) · get_code("f2ca34eca05d40cd")
extract_frames Not yet run guyyariv/TempoTokens/av_align.py
code served (permissive licence) · get_code("20906b6ed112a728")
gelu_accurate Not yet run guyyariv/TempoTokens/modules/beats/modules.py
code served (permissive licence) · get_code("4aa7333ffd7e18c6")
get_activation_fn Not yet run guyyariv/TempoTokens/modules/beats/modules.py
code served (permissive licence) · get_code("01233f4856456c5f")
kmeans Not yet run guyyariv/TempoTokens/modules/beats/quantizer.py
code served (permissive licence) · get_code("b865ae3ee66b52d3")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We consider the task of generating diverse and realistic videos guided by natural audio samples from a wide variety of semantic classes. For this task, the videos are required to be aligned both globally and temporally with the input audio: globally, the input audio is semantically associated with the entire output video, and temporally, each segment of the input audio is associated with a corresponding segment of that video. We utilize an existing text-conditioned video generation model and a pre-trained audio encoder model. The proposed method is based on a lightweight adaptor network, which learns to map the audio-based representation to the input representation expected by the text-to-video generation model. As such, it also enables video generation conditioned on text, audio, and, for the first time as far as we can ascertain, on both text and audio. We validate our method extensively on three datasets demonstrating significant semantic diversity of audio-video samples and further propose a novel evaluation metric (AV-Align) to assess the alignment of generated videos with input audio samples. AV-Align is based on the detection and comparison of energy peaks in both modalities. In comparison to recent state-of-the-art approaches, our method generates videos that are better aligned with the input sound, both with respect to content and temporal axis. We also show that videos produced by our method present higher visual quality and are more diverse.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2309.16429")
get_code_for_paper("2309.16429")
have("2309.16429")

Connect an agent — have() is free.