As part of a recent talk I did about my now-quite-old lyrics generator, I used the opportunity to update the code a bit and share a few of the trained models, including the world famous Gene Lyrica One. Pre-trained lyrics generator models Source code for lyrics generator The new “rock” models have similar performance to… Continue reading Lyrics generator talk
Category: Software
I have used fasttext for language detection a few times, but I always seem to forget how to install and predict the language, so I created this little gist to remind myself of how to download, instantiate the model and predict the language of a piece of text.
Simple photo effects with ImageMagick
I recently explored the capabilities of converting photos to something that looks hand-drawn with a pencil using ImageMagick. It is difficult to get good results, but I thought I would share a few one-liners that I found useful to play around with, as well as a bonus effect that turns a photo into something resembling… Continue reading Simple photo effects with ImageMagick
Image captioning model
Progress is slow for my various hobby efforts to generate images, create lyrics or even detect my dog in an image, but I do still experiment a little bit when I have the time for it. Today, I ran through the image captioning tutorial from Tensorflow, because why not. I trained it on a reduced… Continue reading Image captioning model
The Painting Dataset
In my continuing exploration of generative adversarial networks, I found “The Painting Dataset” and wrote a short script to extract the images from it. Only about 1200 paintings seems to be valid, but it is at least something.