Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when run python enjoy_mineral_shards.py come with error #18

Open
majichang opened this issue Jun 30, 2018 · 2 comments
Open

when run python enjoy_mineral_shards.py come with error #18

majichang opened this issue Jun 30, 2018 · 2 comments

Comments

@majichang
Copy link

Hallo , when I run command "python enjoy_mineral_shards.py" in terminal ,the error is:

Traceback (most recent call last):
File "enjoy_mineral_shards.py", line 163, in
main()
File "enjoy_mineral_shards.py", line 39, in main
game_steps_per_episode=steps * step_mul) as env:
File "/home/m/.local/lib/python3.5/site-packages/pysc2/env/sc2_env.py", line 248, in init
raise ValueError("Please specify agent_interface_format.")
ValueError: Please specify agent_interface_format.

Can anyone else can solve it ??? Thanks

@chauvinfish
Copy link

add
agent_interface_format=sc2_env.AgentInterfaceFormat( feature_dimensions=sc2_env.Dimensions( screen=84, minimap=64))
will solve the problem.
But then you will meet batchinput error,load_state error and key error 'screen'.

@chauvinfish
Copy link

stop dreaming and save yourself!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants