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.
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.