gym-starcraft
gym-starcraft copied to clipboard
StarCraft environment for OpenAI Gym, based on Facebook's TorchCraft. (In progress)
from baselines import deepq env = sc.SingleBattleEnv(args.ip, args.port) act = deepq.learn( env, q_func=model, lr=1e-3, max_timesteps=100000, buffer_size=50000, exploration_fraction=0.1, exploration_final_eps=0.02, print_freq=10 ) error happen. num_actions=env.action_space.n, AttributeError: 'Box' object has no attribute 'n'...
Include BWAPI error log: ////////////////////////////////////////////////// TIME: Thu Apr 06 20:29:41 2017 VERSION: 1.16.1.1 BWAPI: REVISION: 4708 BUILD: RELEASE ERROR: None LOCATION: Single Player MAP: marines_1v1 m5v5_c_far.scm EXCEPTION: 0xC0000005 EXCEPTION_ACCESS_VIOLATION FAULT:...
In this [paper](https://pdfs.semanticscholar.org/3b30/d5adc948800d9e4bb6fbb4e840f2b1de6b3a.pdf) the author extract the state for each unit as a tensor 72 * 72 * 16, 72*72 represent the map size, each channel in the space describes...
Environment: - BWAPI: 4.1.2 - Torchcraft 1.0.2 I use SingleBattleEnv as my environment, and hard code `env._reset()` when it reach max_steps. like: ``` if steps > max_steps: env._reset() ``` But,...