Compare commits

..

10 Commits

Author SHA1 Message Date
Harry Stuart
ef887cbadb
Update README.md 2022-12-07 12:08:30 +11:00
Harry Stuart
0b7adc73c7
Update README.md 2022-12-07 12:08:17 +11:00
Harry Stuart
4037646efa
Update README.md 2020-01-07 12:29:01 +11:00
Harry Stuart
a48249554c updated .gitignore 2020-01-03 12:24:29 +11:00
Harry Stuart
26aa9e4b84
Update README.md 2020-01-03 12:18:53 +11:00
Harry Stuart
23903ed628
Update README.md 2020-01-03 12:15:59 +11:00
Harry Stuart
1fb7124b27 Added violin 2020-01-02 10:16:44 +11:00
Harry Stuart
5faa9becba
Update README.md 2020-01-02 10:03:04 +11:00
Harry Stuart
0df51ec959
Update README.md 2020-01-02 09:46:56 +11:00
Harry Stuart
b4f62df3fa Added DATA_DIR hyperparameter 2020-01-01 15:49:17 +11:00
1114 changed files with 39 additions and 10 deletions

4
.gitignore vendored
View File

@ -243,3 +243,7 @@ paket-files/
# JetBrains Rider # JetBrains Rider
.idea/ .idea/
*.sln.iml *.sln.iml
# Custom
media/
logs/

View File

@ -1,9 +1,17 @@
# tfworldhackathon # MusicGAN
GitHub repo for my Tensorflow World hackathon submission **Scored in the Top 10 most innovative artificial intelligence projects in the international TFWorld Hackathon 2020.**
[Video demo](https://www.youtube.com/watch?time_continue=2&v=DQDYsJXLqlo&feature=emb_logo) MusicGAN creates 1 second of instrumental audio at 16kHz.
To replicate my results, just clone this repo and run `scripts/WGAN-GP.py` after modifying `DATA_DIR`. I used [this](http://deepyeti.ucsd.edu/cdonahue/wavegan/data/mancini_piano.tar.gz) data after converting the files to wave. [Piano demo](https://www.youtube.com/watch?time_continue=2&v=DQDYsJXLqlo&feature=emb_logo)
[Violin demo](https://www.youtube.com/watch?v=XcESDdsb3PU)
To create your own MusicGAN, just clone this repo and run `scripts/WGAN-GP.py` after modifying `DATA_DIR` and `INSTRUMENT`. I used [this](http://deepyeti.ucsd.edu/cdonahue/wavegan/data/mancini_piano.tar.gz) data after converting the files to wave. The violin data I used was just scraped from Youtube.
Training expects a GPU and will take several hours to achieve resonable results. Due to time limitations for the hackathon, I only trained for a few hours, but better results are possible if trained for a longer duration.
Run `tensorboard --logdir logs/train` to view generator and critic loss with Tensorboard.
## Inspiration ## Inspiration
Since the inception of generative adversarial networks, I have been fascinated by their capacity to perform tasks of unprecedented complexity. They are a prime example of how machines can learn in a similar manner to humans - akin to reinforcement learning. I am also a huge fan of music and love to play the piano. So I thought, why not conflate my love for machine learning and my passion for music!? Since the inception of generative adversarial networks, I have been fascinated by their capacity to perform tasks of unprecedented complexity. They are a prime example of how machines can learn in a similar manner to humans - akin to reinforcement learning. I am also a huge fan of music and love to play the piano. So I thought, why not conflate my love for machine learning and my passion for music!?

BIN
models/violin/88.h5 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
output/piano/0-1.wav Normal file

Binary file not shown.

BIN
output/piano/0-2.wav Normal file

Binary file not shown.

BIN
output/piano/0-3.wav Normal file

Binary file not shown.

BIN
output/piano/0-4.wav Normal file

Binary file not shown.

BIN
output/piano/0-5.wav Normal file

Binary file not shown.

BIN
output/piano/0-6.wav Normal file

Binary file not shown.

BIN
output/piano/0-7.wav Normal file

Binary file not shown.

BIN
output/piano/0-8.wav Normal file

Binary file not shown.

BIN
output/piano/0-9.wav Normal file

Binary file not shown.

BIN
output/piano/10-0.wav Normal file

Binary file not shown.

BIN
output/piano/10-1.wav Normal file

Binary file not shown.

BIN
output/piano/10-2.wav Normal file

Binary file not shown.

BIN
output/piano/10-3.wav Normal file

Binary file not shown.

BIN
output/piano/10-4.wav Normal file

Binary file not shown.

BIN
output/piano/10-5.wav Normal file

Binary file not shown.

BIN
output/piano/10-6.wav Normal file

Binary file not shown.

BIN
output/piano/10-7.wav Normal file

Binary file not shown.

BIN
output/piano/10-8.wav Normal file

Binary file not shown.

BIN
output/piano/10-9.wav Normal file

Binary file not shown.

BIN
output/piano/100-1.wav Normal file

Binary file not shown.

BIN
output/piano/100-2.wav Normal file

Binary file not shown.

BIN
output/piano/100-3.wav Normal file

Binary file not shown.

BIN
output/piano/100-4.wav Normal file

Binary file not shown.

BIN
output/piano/100-5.wav Normal file

Binary file not shown.

BIN
output/piano/100-6.wav Normal file

Binary file not shown.

BIN
output/piano/100-7.wav Normal file

Binary file not shown.

BIN
output/piano/100-8.wav Normal file

Binary file not shown.

BIN
output/piano/100-9.wav Normal file

Binary file not shown.

BIN
output/piano/102-0.wav Normal file

Binary file not shown.

BIN
output/piano/102-1.wav Normal file

Binary file not shown.

BIN
output/piano/102-2.wav Normal file

Binary file not shown.

BIN
output/piano/102-3.wav Normal file

Binary file not shown.

BIN
output/piano/102-4.wav Normal file

Binary file not shown.

BIN
output/piano/102-5.wav Normal file

Binary file not shown.

BIN
output/piano/102-6.wav Normal file

Binary file not shown.

BIN
output/piano/102-7.wav Normal file

Binary file not shown.

BIN
output/piano/102-8.wav Normal file

Binary file not shown.

BIN
output/piano/102-9.wav Normal file

Binary file not shown.

BIN
output/piano/104-1.wav Normal file

Binary file not shown.

BIN
output/piano/104-2.wav Normal file

Binary file not shown.

BIN
output/piano/104-3.wav Normal file

Binary file not shown.

BIN
output/piano/104-4.wav Normal file

Binary file not shown.

BIN
output/piano/104-5.wav Normal file

Binary file not shown.

BIN
output/piano/104-6.wav Normal file

Binary file not shown.

BIN
output/piano/104-7.wav Normal file

Binary file not shown.

BIN
output/piano/104-8.wav Normal file

Binary file not shown.

BIN
output/piano/104-9.wav Normal file

Binary file not shown.

BIN
output/piano/106-0.wav Normal file

Binary file not shown.

BIN
output/piano/106-1.wav Normal file

Binary file not shown.

BIN
output/piano/106-2.wav Normal file

Binary file not shown.

BIN
output/piano/106-3.wav Normal file

Binary file not shown.

BIN
output/piano/106-4.wav Normal file

Binary file not shown.

BIN
output/piano/106-5.wav Normal file

Binary file not shown.

BIN
output/piano/106-6.wav Normal file

Binary file not shown.

BIN
output/piano/106-7.wav Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More