pytorch-a2c-ppo-acktr-gail icon indicating copy to clipboard operation
pytorch-a2c-ppo-acktr-gail copied to clipboard

Why Openai-Baselines is needed?

Open ZiwenZhuang opened this issue 5 years ago • 2 comments

One of the attractions of this repository is that we can have a pytorch version without messing with tensorflow. It seems like openai-baselines actually requires tensorflow. Could you explain why the openai-baselines is needed? Or is it possible to get rid of it?

ZiwenZhuang avatar Jul 10 '19 02:07 ZiwenZhuang

It's not using the tensorflow baselines that's in the openai-baselines, but it's using the helpful environment wrappers (atatri_wrappers, vec_env, etc). The libraries imported from openai-baselines don't use tensorflow, so if you don't want to use openai-baselines, you can probably just use the files that is imported in this project like, https://github.com/openai/baselines/blob/master/baselines/common/vec_env/vec_env.py

haruishi43 avatar Jul 25 '19 05:07 haruishi43

I will accept a PR that import these files as a submodule.

ikostrikov avatar Aug 03 '19 15:08 ikostrikov