VRichardJP / LoLAnalyzer

Using machine learning to find the best pick in a draft (League of Legends)
MIT License
44 stars 5 forks source link

ValueError while training #8

Closed godfatherlmh closed 5 years ago

godfatherlmh commented 5 years ago

Sorry I'm new to github. Not sure if I'm supposed to open an issue for this or if there is a way to just message you for help.

After the data shuffling, it gave me a ValueError while training.

image I restarted over RunAll.py but I still have the same error.

godfatherlmh commented 5 years ago

I have solved it by installing an old version of keras. Sorry for the trouble.

VRichardJP commented 5 years ago

Hi,

Can you give me the version you've installed?

I see you have a small amount of data. You can change the amount of files used for training by changing keep_for_testing value (should be a prime number around 10% of the total number of data).

By the way, I would be more than happy if you can create a new pull request with the changes you have made to the code (I'm sorry I don't have much time to look at it myself)