google-deepmind / google-deepmind/acme

Sonnet issue with tf2

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/7365604/219994795-f1db4114-f310-4e2a-b389-9b5b2de24e69.png)

OS - Ubuntu 22.04

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.