Commit ·
23deebc
1
Parent(s): 5966102
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,3 +51,24 @@ Sample datasets can be chosen as circles, moons, or scurve.
|
|
| 51 |

|
| 52 |

|
| 53 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |

|
| 52 |

|
| 53 |

|
| 54 |
+
|
| 55 |
+
# Bird Call generation Score SDE
|
| 56 |
+
|
| 57 |
+
This are the codes for the bird call generation score sde model.
|
| 58 |
+
|
| 59 |
+
<code>core-sde-sampler.py</code> will execute the sampler. The sampler uses pretrained weight to generate bird calls.
|
| 60 |
+
|
| 61 |
+
For using different sample generation parameters,
|
| 62 |
+
```bash
|
| 63 |
+
python main.py --sigma=25 --num_steps=500 --signal_to_noise_ratio=0.10 --etol=1e-5 --sample_batch_size = 128 --sample_no = 47
|
| 64 |
+
```
|
| 65 |
+
In order to generate the audios, these dependencies are required,
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
pip install librosa
|
| 69 |
+
pip install soundfile
|
| 70 |
+
```
|
| 71 |
+
In order to train the model from scratch, please generate the dataset using this [link](www.kaggle.com/ibraheemmoosa/birdsong-spectogram-generation). The dataset is generated in kaggle. Therefore, during training your username and api key is required in the specified section.
|
| 72 |
+
```bash
|
| 73 |
+
python main.py --sigma=35 --n_epochs=1000 --batch_size=512 --lr=1e-3 --num_steps=500 --signal_to_noise_ratio=0.15 --etol=1e-5 --sample_batch_size = 64 --sample_no = 23
|
| 74 |
+
```
|