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

TypeError: Can't instantiate abstract class SubprocVecEnv with abstract methods step_async, step_wait #14

Open
okdolly-001 opened this issue Apr 4, 2018 · 2 comments

Comments

@okdolly-001
Copy link

okdolly-001 commented Apr 4, 2018

WARNING:tensorflow:From /Users/domore/Documents/deeplearning/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Use the retry module or similar alternatives.
algorithm : a2c
timesteps : 2000000
exploration_fraction : 0.5
prioritized : True
dueling : True
num_agents : 4
lr : 0.0005
random lr : 0.0005
Traceback (most recent call last):
File "/Users/domore/starcraft/pysc2-examples/train_mineral_shards.py", line 302, in
main()
File "/Users/domore/starcraft/pysc2-examples/train_mineral_shards.py", line 168, in main
env = SubprocVecEnv(FLAGS.num_agents + FLAGS.num_scripts, FLAGS.map)

TypeError: Can't instantiate abstract class SubprocVecEnv with abstract methods step_async, step_wait
@woaipichuli
Copy link

I get the same problem.Have you solved it out yet?

@okdolly-001
Copy link
Author

No, unfortunately.

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