Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kvrban opened this issue Apr 30, 2023 · 1 comment

Comments

@kvrban
Copy link

kvrban commented Apr 30, 2023

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'>)
@arpit15
Copy link

arpit15 commented Aug 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants