Flappy-bird-deep-Q-learning-pytorch icon indicating copy to clipboard operation
Flappy-bird-deep-Q-learning-pytorch copied to clipboard

Deep Q-learning for playing flappy bird game

Results 7 Flappy-bird-deep-Q-learning-pytorch issues
Sort by recently updated
recently updated
newest added

Flappy-bird-deep-Q-learning-pytorch/src/deep_q_network.py:21: UserWarning: nn.init.uniform is now deprecated in favor of nn.init.uniform_. nn.init.uniform(m.weight, -0.01, 0.01) Perform a random action Iteration: 2/2000000, Action: 1, Loss: 0.010123813524842262, Epsilon 0.1, Reward: 0.1, Q-value: 0.0005683371564373374 Traceback...

HI, on line 74: `action = torch.argmax(prediction)[0]` should be: `action = torch.argmax(prediction)` after that the code ran

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.

First of all, thanks for taking the time to put this pytorch implementation together. I am getting the following error. Also can you explain what the purpose of the torch.cat...

This is the error I'm getting if I'm trying to run `test.py` with PyTorch **1.1** It's just a heads-up - this doesn't seem to be a problem on your end....

I have RTX 3060 Laptop with 6 GB and after step 35 374 / 2 000 000 I see.: ``` RuntimeError: CUDA out of memory. Tried to allocate 2.00 MiB...