Project to prettify music notes

I'm interested in trying to do something with neural networks, and thought that making a neural network that can take a picture of music notes taken with a camera and turn them into a nicely edited version would be an interesting project.

I followed a tutorial to do a pix2pix GAN network here: https://www.youtube.com/watch?v=SuddDSqGRzg, and the github.

And I have a few pages of music notes that are around 2480 x 3508, but I crop a random 512x512 square to learn on, here's an example of input and target:

https://ibb.co/xf9hRpw

https://ibb.co/Dg5gRVM

I've done around 1000 epochs, and I'm mostly getting just a white background.. so it's not going too good. Possibly the convolution isn't working properly, or the loss function is misbehaving (or it just needs a lot more epochs). I'll probably try to use the dataset referenced in the guide, given that my custom one isn't working properly.

I'd love to ask into the void:

  • Would you use Pix2Pix or something else?
  • does anyone know if a pix2pix GAN should be able to learn to unwarp lines?

I'm hoping I'll learn something from this experience.

Posted Sep 20, 2021, 7:46 PM UTC

21
Loading comments…