google-deepmind / acme

A library of reinforcement learning components and agents
Apache License 2.0
3.52k stars 426 forks source link

Sonnet issue with tf2 #289

Open suhani247 opened 1 year ago

suhani247 commented 1 year ago

Hi, I'm trying to run AndroidEnv script Run Acme agent - https://github.com/deepmind/android_env/blob/main/examples/run_acme_agent.py

When I try to run this, after installing acme, I get issue with sonnet which is trying to use tf.contrib.eager.python which is available only for tf1, whereas when I downgrade tensorflow to 1 (and correspondingly python to 2.7(, acme setup.py fails with syntax error. What is the resolution here?

Screenshot 2023-02-19 at 9 19 16 PM

OS - Ubuntu 22.04