Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- audio
|
| 5 |
+
- source-separation
|
| 6 |
+
- drums
|
| 7 |
+
- onnx
|
| 8 |
+
pipeline_tag: audio-to-audio
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# DrumSep ONNX
|
| 12 |
+
|
| 13 |
+
Drum element separation model converted to ONNX format for use with Splitzo.
|
| 14 |
+
|
| 15 |
+
## Model Details
|
| 16 |
+
|
| 17 |
+
- **Original Author**: [inagoy/drumsep](https://github.com/inagoy/drumsep)
|
| 18 |
+
- **License**: MIT
|
| 19 |
+
- **Format**: ONNX
|
| 20 |
+
- **Size**: ~335 MB
|
| 21 |
+
|
| 22 |
+
## Stems
|
| 23 |
+
|
| 24 |
+
Separates drum tracks into 4 elements:
|
| 25 |
+
1. **Kick** (bombo)
|
| 26 |
+
2. **Snare** (redoblante)
|
| 27 |
+
3. **Cymbals** (platillos)
|
| 28 |
+
4. **Toms**
|
| 29 |
+
|
| 30 |
+
## Technical Specs
|
| 31 |
+
|
| 32 |
+
| Parameter | Value |
|
| 33 |
+
|-----------|-------|
|
| 34 |
+
| Sample Rate | 44100 Hz |
|
| 35 |
+
| Segment Length | 40 seconds (1,764,000 samples) |
|
| 36 |
+
| STFT n_fft | 4096 |
|
| 37 |
+
| STFT hop_length | 1024 |
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
This model is automatically downloaded by the Splitzo app on first use.
|
| 42 |
+
|
| 43 |
+
**Input**: Pre-separated drum stem (stereo, 44.1kHz)
|
| 44 |
+
**Output**: 4 separated drum elements
|
| 45 |
+
|
| 46 |
+
## Attribution
|
| 47 |
+
|
| 48 |
+
This ONNX conversion is based on the original DrumSep model by [@inagoy](https://github.com/inagoy).
|
| 49 |
+
|
| 50 |
+
```
|
| 51 |
+
MIT License
|
| 52 |
+
|
| 53 |
+
Copyright (c) 2023 inagoy
|
| 54 |
+
|
| 55 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 56 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 57 |
+
in the Software without restriction, including without limitation the rights
|
| 58 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 59 |
+
copies of the Software...
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Conversion
|
| 63 |
+
|
| 64 |
+
Converted from PyTorch checkpoint using `tools/convert_drumsep_onnx.py` with STFT operations moved outside the model for ONNX compatibility.
|