dopamine icon indicating copy to clipboard operation
dopamine copied to clipboard

Colab demo for jax agents not working. Error: "no attribute 'online_network'"

Open kvrban opened this issue 2 years ago • 1 comments

Hi, i tried to study the colab sample linked from: https://github.com/google/dopamine/tree/master/dopamine/jax

This colab sample: https://colab.research.google.com/github/google/dopamine/blob/master/dopamine/colab/jax_agent_visualizer.ipynb

First issue is easy to fix, you need additional:

!pip install gym[accept-rom-license]
!pip install gym[atari]

to get the atari environments working.

But this issue then exists:


AttributeError: 'MyDQNAgent' object has no attribute 'online_network'
  In call to configurable 'Runner' (<class 'dopamine.discrete_domains.run_experiment.Runner'>)

kvrban avatar Apr 30 '23 11:04 kvrban

I am seeing the same issue. @kvrban were you able to find a way around it?

arpit15 avatar Aug 09 '23 23:08 arpit15