You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use "from smac.examples.rllib.env import RLlibStarCraft2Env" to run the smac environment in ray for multi-agent reinforcement learning. I get the following error.
When I try to use "from smac.examples.rllib.env import RLlibStarCraft2Env" to run the smac environment in ray for multi-agent reinforcement learning. I get the following error.
/usr/local/lib/python3.10/dist-packages/smac/examples/rllib/init.py in
1 from smac.examples.rllib.env import RLlibStarCraft2Env
----> 2 from smac.examples.rllib.model import MaskedActionsModel
3
4 all = ["RLlibStarCraft2Env", "MaskedActionsModel"]
/usr/local/lib/python3.10/dist-packages/smac/examples/rllib/model.py in
5 import tensorflow as tf
6
----> 7 from ray.rllib.models import Model
8 from ray.rllib.models.tf.misc import normc_initializer
9
ImportError: cannot import name 'Model' from 'ray.rllib.models' (/usr/local/lib/python3.10/dist-packages/ray/rllib/models/init.py)
The text was updated successfully, but these errors were encountered: