miroesli / psscscs

Reinforcement Learning Battlesnake
MIT License
2 stars 1 forks source link

Import array from numpy in the neuralnet.py file (the file which contains the alphazero algorithm) #14

Closed AhmedNSidd closed 4 years ago

AhmedNSidd commented 4 years ago

In the train_alpha() method in the AlphaZero algorithm file (app/algs/neuralnet.py), we are calling the train function on the new_nnet, but we're passing the following parameters: (array(X), array(Y)). However, we are not importing the array function. Simple fix, just import the array function from numpy.