You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mainTafl.py does not work; it looks for me like an inconsistency in handling board.
Coach expects for trainExamples (compared to Otello) from getNextState a ndarray, but gets Board objects.
Traceback (most recent call last):
File "mainTafl.py", line 34, in <module>
c.learn()
File "/content/Coach.py", line 113, in learn
self.nnet.train(trainExamples)
File "/content/tafl/pytorch/NNet.py", line 55, in train
boards = torch.FloatTensor(np.array(boards).astype(np.float64))
ValueError: setting an array element with a sequence.
The text was updated successfully, but these errors were encountered:
mainTafl.py does not work; it looks for me like an inconsistency in handling board.
Coach expects for trainExamples (compared to Otello) from getNextState a ndarray, but gets Board objects.
The text was updated successfully, but these errors were encountered: