纸牌游戏 SkyJo 的多智能体强化学习环境,兼容 PettingZoo 和 RLLIB
项目描述
skyjo_rl
纸牌游戏 SkyJo 的多智能体强化学习环境,兼容 PettingZoo 和 RLLIB
项目组织
├── LICENSE
├── Makefile <- Makefile with commands like `make data` or `make train`
├── README.md <- The top-level README for developers using this project.
│
├── docs <- Docs HTMLs, see Sphinx [docs](https:/michaelfeil.github.io/skyjo_rl)
│
├── models <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks <- Jupyter notebooks.
├── requirements.txt <- requirements for the rlskyjo
├── requirements_dev.txt <- requirements for developers
├── rlskyjo
│ ├── environment
│ │ ├── skyjo_env.py
│ │ └── vanilla_env_example.py
│ ├── game
│ │ ├── sample_game.py
│ │ └── skyjo.py
│ ├── models
│ │ ├── action_mask_model.py
│ │ ├── random_admissible_policy.py
│ │ └── train_model_simple_rllib.py
│ └── utils.py
├── setup.py <- makes project pip installable (pip install -e .) so skyjo_rl can be imported
├── test_environment.py
├── tests <- Unittests
└── tox.ini <- tox file with settings for running tox; see tox.readthedocs.io
PYPI 安装
conda create --name skyjo python=3.8 pip
conda activate skyjo
pip install rlskyjo
开发者安装
git clone https://github.com/michaelfeil/skyjo_rl.git
conda create --name skyjo python=3.8 pip
conda activate skyjo
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .
pre-commit install
coverage run -m --source=./rlskyjo pytest tests
教程
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
rlskyjo-1.0.0.tar.gz
(16.6 kB
查看哈希)
内置分布
rlskyjo-1.0.0-py3-none-any.whl
(17.7 kB
查看哈希)