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:
parent
a062c7610c
commit
fe54e4732d
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user