You can see the demo on the website
Huggingface Online Inference and
Github Demo.
Or you can use the
"inference.py" script provided by website
Huggingface Inference to generate.
Huggingface Online Inference uses Gemini as a preprocessor, and we also provide a GPT preprocessing script consistent with the paper in
"llm_preprocess.py"
Simulated data can be downloaded from (1)
HuggingfaceDataset or (2)
BaiduNetDisk with the extraction code "pico".
The metadata is stored in
"data/meta_data/{}.json", one instance is as follows:
1{
2 "filepath": "data/multi_event_test/syn_1.wav",
3 "onoffCaption": "cat meowing at 0.5-2.0, 3.0-4.5 and whistling at 5.0-6.5 and explosion at 7.0-8.0, 8.5-9.5",
4 "frequencyCaption": "cat meowing two times and whistling one times and explosion two times"
5}
1cd picoaudio
2pip install -r requirements.txt
Our code referred to the
AudioLDM and
Tango. We appreciate their open-sourcing of their code.