Flappy-bird-deep-Q-learning-pytorch
Flappy-bird-deep-Q-learning-pytorch copied to clipboard
Update train.py
type: feat
Fully soft-code optimizer choice between Adam and SGD as well as learning rate. Remove [0] index on line 79 to prevent IndexError: invalid index of a 0-dim tensor.