Upgrade to Tensorflow 2
See original GitHub issueCurrently 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:
- Created 3 years ago
- Reactions:1
- Comments:6
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is an non official version with tf2 support here if you want : https://github.com/hill-a/stable-baselines/issues/984
@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).