Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba-archive/torchcraft-py
Python wrapper for TorchCraft. (In progress)
https://github.com/alibaba-archive/torchcraft-py
Last synced: 2 months ago
JSON representation
Python wrapper for TorchCraft. (In progress)
- Host: GitHub
- URL: https://github.com/alibaba-archive/torchcraft-py
- Owner: alibaba-archive
- Archived: true
- Created: 2017-01-10T01:33:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T07:44:09.000Z (over 7 years ago)
- Last Synced: 2024-05-23T06:47:30.354Z (8 months ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 70
- Watchers: 13
- Forks: 21
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-pytorch-list-CNVersion - torchcraft-py
README
# torchcraft-py
Python wrapper for [TorchCraft](https://github.com/TorchCraft/TorchCraft), a bridge between Torch and StarCraft for AI research.
## Installation
1. Install [TorchCraft](https://github.com/TorchCraft/TorchCraft) and its dependencies. You can skip the Torch client part.
2. Install the package itself:
```
git clone https://github.com/deepcraft/torchcraft-py.git
cd torchcraft-py
pip install -e .
```## Usage
1. Start StarCraft server with BWAPI by Chaoslauncher.2. Run examples:
```
cd examples
python attack_weakest.py --ip $server_ip --port $server_port
```
The `$server_ip` and `$server_port` are the ip and port of the server running StarCraft.