Skip to content

taku-y/20181125-pybullet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

20181125-pybullet

Install python 3.6 with homebrew

Python 3.7 have a problem when installing tensorflow (tensorflow/tensorflow#20444).

# See https://apple.stackexchange.com/questions/329187
$ brew install \
  https://raw.githubusercontent.com/Homebrew/homebrew-core/\
  f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb

venv

$ cd $WORKDIR
$ python3 -m venv pybullet-env
$ source pybullet-env/bin/activate
$ pip install tensorflow
$ pip install gym
$ git clone https://github.com/openai/baselines.git
$ cd baselines
$ pip install -e .
$ cd ..
$ pip install pybullet
$ pip install ruamel-yaml

Check pybullet

$ cd pybullet-env/lib/python3.6/site-packages/pybullet_envs/examples
$ python kukaGymEnvTest.py
$ python kukaCamGymEnvTest.py # much slower

References

Progress

  • baselinesによる動作はバグのため失敗。 TypeError: learn() missing 1 required positional argument: 'network' というエラー。
  • Tensorflow agents PPOによる 動作確認はできた。ただし訓練のみ。警告が大量に表示されるので消したい。 pendulum という 名前のディレクトリが作成される。Configurationは pybullet_envs/agents/configs.py の中で設定されている。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages