Vojta Fluger commited on
Commit
b4f0ec8
Β·
1 Parent(s): a8c0792

fixed dependencies files and README

Browse files
Files changed (4) hide show
  1. README.md +5 -3
  2. TODO.md +0 -20
  3. environment.yml +3 -1
  4. requirements.txt +1 -0
README.md CHANGED
@@ -16,9 +16,11 @@ Classifies the dance style that best accompanies a provided song. Users record o
16
 
17
  ## Getting Started
18
 
19
- 1. Download dependencies: `conda env create --file environment.yml`
20
- 2. Open environment: `conda activate dancer-net`
21
- 3. Start the demo application: `python app.py`
 
 
22
 
23
  ## Training
24
 
 
16
 
17
  ## Getting Started
18
 
19
+ 1. Clone this repo: `git clone https://github.com/Waidhoferj/dance-classifier`
20
+ 2. Download git LSF files: `git lfs pull`
21
+ 3. Download dependencies: `conda env create --file environment.yml`
22
+ 4. Open environment: `conda activate dancer-classifier`
23
+ 5. Start the demo application: `python app.py`
24
 
25
  ## Training
26
 
TODO.md DELETED
@@ -1,20 +0,0 @@
1
- - βœ… Ensure app.py audio input sounds like training data
2
- - βœ… Use a huggingface transformer with the dataset
3
- - Verify that the training spectrogram matches the predict spectrogram
4
- - Count number of example misses in dataset loading
5
- - Verify windowing and jitter params in Song Dataset
6
- - Create an attention-based network
7
- - βœ… Increase parameter count in network
8
- - Verify that labels really match what is on the music4dance site
9
- - βœ… Read the Medium series about audio DL
10
- - double check \_rectify_duration
11
- - βœ… Filter out songs that have only one vote
12
- - βœ… Download songs from [Best Ballroom](https://www.youtube.com/channel/UC0bYSnzAFMwPiEjmVsrvmRg)
13
-
14
- - βœ… fix nan values
15
- - Try higher mels (224) and more ffts (2048)
16
- - Verify random sample of dataset outputs by hand.
17
-
18
- - Train with non music data and add a non music category
19
- - Add back class weights
20
- - Add back multi label classification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
environment.yml CHANGED
@@ -9,7 +9,9 @@ dependencies:
9
  - pytorch
10
  - torchaudio
11
  - librosa
12
- - numpy
 
 
13
  - pandas
14
  - bs4
15
  - requests
 
9
  - pytorch
10
  - torchaudio
11
  - librosa
12
+ - numpy<2
13
+ - sounddevice
14
+ - gradio
15
  - pandas
16
  - bs4
17
  - requests
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  torch
2
  torchaudio
3
  pytorch-lightning
 
1
+ sounddevice
2
  torch
3
  torchaudio
4
  pytorch-lightning