saizhang0218 / VBC

pytorch implementation of "Efficient Communication in Multi-Agent Reinforcement Learning via Variance Based Control"
Apache License 2.0
51 stars 13 forks source link

ValueError: Unknown game version: 4.1.4. Known versions: ['latest']. #1

Closed GJHall closed 4 years ago

GJHall commented 4 years ago

I have been able to get SMAC installed and working to train COMA/QMIX agents.

When I tried to run your code the first time I received this error:

File "src/main.py", line 33, in my_main env_args['seed'] = _config["seed"] sacred.utils.SacredError: The configuration is read-only in a captured function!

To fix this I added the following code to the main.py file: SETTINGS['CONFIG']['READ_ONLY_CONFIG'] = False

now I am receiving:

File "C:...\anaconda3\lib\site-packages\pysc2\run_configs\platforms.py", line 109, in get_versions containing, sorted(ret.keys()))) ValueError: Unknown game version: 4.1.4. Known versions: ['latest'].

Any ideas?

I am running pysc2==3.0.0 but have also tried to run it with pysc2==2.0.2 which results in:

TypeError: get() got an unexpected keyword argument 'version' File "C:...\anaconda3\lib\site-packages\smac\env\starcraft2\starcraft2.py", line 286, in _launch self._run_config = run_configs.get(version=self.game_version)

Edit: I am using version 4.11.3

GJHall commented 4 years ago

Windows issue. Unsolved.