drlgeb
A sample DRL lib use tf.keras and gym. Just writing ...
Now just implement the batch a3c, other algorithms will be updated in the future.
Requirement
- Linux/windows/osx
- python3.8
- tensorflow2.4
- gym[atari]
- numpy
Installation
pip install drlgeb
Get start
A3C
from drlgeb.ac import A3C
env_id = "SpaceInvaders-v0"
agent = A3C(env_id=env_id)
# train
agent.learn()
# test
model_path = "..."
agent.play(episodes=5, model_path=model_path)
Release files for drlgeb 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| drlgeb-0.0.1.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drlgeb-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.7 kB
Release files / drlgeb-0.0.1.tar.gz
| Download URL | drlgeb-0.0.1.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4334e87690f4418200769898e529c2350675270bfe4651c0011a60ae030b0cf6
|
|
BLAKE2b-256 checksum How to use checksums |
ada4d1d93e5f2bf96f42e8cf3cfc41ab2d6b30ecf930996184b3a2117cceee45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|
Release files / drlgeb-0.0.1-py3-none-any.whl
| Download URL | drlgeb-0.0.1-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a794ee2780cd2c7fac0dbeb272e7a9ef1682abaed11546d45f51fd1fc1ba1cc
|
|
BLAKE2b-256 checksum How to use checksums |
36dff89ff2c41ee125627a542f29f89cd756d64d6d625e1403b56f3b046eb754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|