question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to Tensorflow 2

See original GitHub issue

Currently I have a huge dilemma:

  • backport all my code to TF 1, in order to use Stable Baselines and my code in one project
  • or use something less mature than Stable Baselines (eg TF Agents) only because I have Tensorflow 2.3 code in my project

Couldn’t you support also newer TF versions (tensorflow>=1.8.0,<2.0.0 could become tensorflow>=1.8.0).

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

3reactions
araffincommented, Sep 27, 2020

There is an non official version with tf2 support here if you want : https://github.com/hill-a/stable-baselines/issues/984

2reactions
nbrocommented, Oct 6, 2020

@araffin I already quickly looked at the first issue. As I said somewhere else, it seems that there aren’t big plans to support TF 2 (https://github.com/Stable-Baselines-Team/stable-baselines-tf2) and you are already developing the new version of this package with PyTorch, which, as I said, is a risky change (https://github.com/DLR-RM/stable-baselines3) given that TF seems to be a lot more used than PyTorch, although PyTorch is also used in research and, apparently, most people voted for PyTorch in your poll. For example, now, I would need to use TF 2 with stable-baselines and I can’t. I am sure there will be other people with my same issue (given that TF 2 already quite mature and we are already at version 2.3).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically rewrite TF 1.x and compat.v1 API symbols
It will accelerate your upgrade process by converting existing TensorFlow 1.x Python scripts to TensorFlow 2.x. The conversion script automates many ...
Read more >
Install TensorFlow 2
Learn how to install TensorFlow on your system. Download a pip package, run in a Docker container, or build from source.
Read more >
Upgrading your code to TensorFlow 2.0
If you want to try upgrading your models from TensorFlow 1.12 to TensorFlow 2.0, follow the instructions below: First, install tf-nightly-2.0- ...
Read more >
Install TensorFlow with pip
Step-by-step instructions · 1. System requirements · 2. Install Miniconda · 3. Create a conda environment · 4. GPU setup · 5. Install...
Read more >
Installation | TensorFlow Hub
Use pip to install TensorFlow 2 as usual. (See there for extra instructions about GPU support.) Then install a current version of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found