Spaces:
Runtime error
Runtime error
Add readme for github
Browse files
README.md
CHANGED
@@ -1,40 +1,6 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
emoji: 🚀
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.29.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: true
|
10 |
-
license: cc-by-nc-4.0
|
11 |
-
---
|
12 |
|
13 |
-
|
14 |
|
15 |
-
|
16 |
-
This is an example of using the [MERT-v1-95M](https://huggingface.co/m-a-p/MERT-v1-95M) model as backbone to conduct multiple music understanding tasks with the universal represenation.
|
17 |
-
|
18 |
-
The tasks include EMO, GS, MTGInstrument, MTGGenre, MTGTop50, MTGMood, NSynthI, NSynthP, VocalSetS, VocalSetT.
|
19 |
-
|
20 |
-
More models can be referred at the [map organization page](https://huggingface.co/m-a-p).
|
21 |
-
|
22 |
-
# Known Issues
|
23 |
-
|
24 |
-
## Audio Format Support
|
25 |
-
|
26 |
-
Theorectically, all the audio formats supported by [torchaudio.load()](https://pytorch.org/audio/stable/torchaudio.html#torchaudio.load) can be used in the demo. Theese should include but not limited to `WAV, AMB, MP3, FLAC`.
|
27 |
-
|
28 |
-
## Error Output
|
29 |
-
|
30 |
-
Due the **hardware limitation** of the machine hosting our demospecification (2 CPU and 16GB RAM), there might be `Error` output when uploading long audios.
|
31 |
-
|
32 |
-
Unfortunately, we couldn't fix this in a short time since our team are all volunteer researchers.
|
33 |
-
|
34 |
-
We recommend to test audios less than 30 seconds or using the live mode if you are trying the [Music Descriptor demo](https://huggingface.co/spaces/m-a-p/Music-Descriptor) hosted online at HuggingFace Space.
|
35 |
-
|
36 |
-
This issue is expected to solve in the future by applying more community-support GPU resources or using other audio encoding strategy.
|
37 |
-
|
38 |
-
In the current stage, if you want to directly run the demo with longer audios, you could:
|
39 |
-
* clone this space `git clone https://huggingface.co/spaces/m-a-p/Music-Descriptor` and deploy the demo on your own machine with higher performance following the [official instruction](https://huggingface.co/docs/hub/spaces). The code will automatically use GPU for inference if there is GPU that can be detected by `torch.cuda.is_available()`.
|
40 |
-
* develop your own application with the MERT models if you have the experience of machine learning.
|
|
|
1 |
+
This is a fork of the huggingface spaces for music description.
|
2 |
+
Licenced under CC-BY-NC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
I pulled it in here to work with this on a google colab.
|
5 |
|
6 |
+
Check the original space at https://huggingface.co/spaces/m-a-p/Music-Descriptor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|