fix imports to support both python2 and python3. move contents from __init__.py to leave for work after major development.

This commit is contained in:
haoshengzou 2017-12-23 15:34:44 +08:00
parent d42a76f8f3
commit 951eed60ed

View File

@ -41,6 +41,11 @@ Tianshou(天授) is a reinforcement learning platform. The following image illus
<img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/go.png" height="150"/> <img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/reversi.jpg" height="150"/> <img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/warzone.jpg" height="150"/> <img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/go.png" height="150"/> <img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/reversi.jpg" height="150"/> <img src="https://github.com/sproblvem/tianshou/blob/master/docs/figures/warzone.jpg" height="150"/>
## examples
During development, run examples under `./examples/` directory with, e.g. `python ppo_example.py`.
Running them under this directory with `python examples/ppo_example.py` will not work.
## About coding style ## About coding style