robbiebarrat / rapping-neural-network

Rap song writing recurrent neural network trained on Kanye West's entire discography

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freezing on word by word

ChoclateRain opened this issue · comments

I have edited my lyrics file so that when training the error message:
("Hm, for some reason we couldn't do anything with this line - remove symbols from it and try again: ")
doesnt show but when generating mode is on word by word still freezes
line by line works though

sorry about that! just updated it - try cloning the repo again and using the updated version.

This was the first big machine learning project I really did. It's in need of a total rewrite because it's plagued by errors like this, haha. i'll get around to it soon though.

It gets a little further and then freezes again, reading the terminal there are a couple bugs:

#1. After the "Done Building the text model and markov chain"
part each line starts with ". " and there are some duplicates. Here's that part of the terminal output

Terminal Output- (**Click to reveal**)

Done the markov chain part... Building the model...
Done building the text model!
. Smoke fallin from the saw mill city. vocally nicer than dope fatkiss.
2
None
3
None
4
. Sawed from a different dimension.
5
. Fightin, writing, like mic Tyson, The size of two bison with a sequel.
6
. Fightin, writing, like mic Tyson, The size of two bison with a sequel.

#2. After the
("Alright, building the list of all the rhymes - here are the words that have to be taken into account;")
part it Is showing the word 'none' a couple of times even thought the word 'none' is not in my lyrics.txt
It is also showing duplicates (Dunno if thats norm)

Terminal Output2- (**Click to reveal**)

none
none
dimension
diss
priceless
dimension
eyelids
diss
deal
maxin
maxin
doses
fattest
priceless
eyelids
life
deal
life
vacuum
vacuum
fattest
dragon

#3. It is throwing that error
("Hm, for some reason we couldn't do anything with this line - remove symbols from it and try again: ")
now, training is off, No error is thrown during training
I noticed when training it does line by line even if word by word is on
Perhaps thats where all the above issues are rooting from?

-----Edited-----------

Alright - sorry it's taken so long, but the new release is out and none of your issues should be a problem any more because everything has been rewritten