Closed xhw98 closed 4 years ago
Using TensorFlow backend.
hey, you need to pass a dict
, not just a name, e.g.
web_app = get_web_app({'random': random_agent})
your error message indicates that you're trying to call get_web_app(agent)
for an instance of MCTSAgent
. and just to help you help yourself, something not being subscriptable means a Python object doesn't implement __getitem__
like e.g. dict
does. once you know that you'll immediately know that you're not passing the right argument to bot_map[bot_name]
.
Hope this helps!
but it runed well in web_random.py lookforward to your reply!