dopamine icon indicating copy to clipboard operation
dopamine copied to clipboard

"How to create and train a custom agent" doesn't actually do any learning

Open RylanSchaeffer opened this issue 3 years ago • 2 comments

The Colab notebook showing how to train a custom agent (https://colab.research.google.com/github/google/dopamine/blob/master/dopamine/colab/agents.ipynb) doesn't actually do any learning. Could we have an example of modifying the DQN architecture or its loss function?

RylanSchaeffer avatar Dec 21 '20 00:12 RylanSchaeffer

thanks for pointing this out and the suggestion, which i think is great! we'll look into this.

psc-g avatar Apr 09 '21 15:04 psc-g

I think the reason was that the example agent was not using the .gin file given in the folder. I tried copy and paste the configs for DQN into the notebook and then it seems to have an identical learning curve.

bryanyuan1 avatar Jul 14 '21 13:07 bryanyuan1