0
$\begingroup$

I'm trying to implement deep q learning in the OpenAI's gym "Taxi-v3" environment. But my agent only learns to do one action in every state. What am I doing wrong? Here is the Github repository with the code.

$\endgroup$

1 Answer 1

1
$\begingroup$

I thought about my input-layer. I had the 500 states one hot encoded. So 499 of every input node would be 0. And 0 is very bad in an neural network. I tried the same code with the "CardPole-v0" and it worked.

So think about your input guys

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .