When I run run_trainer.py, it occurs that:
Exception has occurred: AttributeError
module 'tensorflow' has no attribute 'function'
File "E:\google\malib-master\malib\agents\ddpg\maddpg.py", line 194, in MADDPGAgent
@tf.function
File "E:\google\malib-master\malib\agents\ddpg\maddpg.py", line 11, in
class MADDPGAgent(OffPolicyAgent):
File "E:\google\malib-master\malib\agents__init__.py", line 1, in
from malib.agents.ddpg.maddpg import MADDPGAgent
File "E:\googlemalib-master\examples\run_trainer.py", line 4, in
from malib.agents.agent_factory import *
When I run run_trainer.py, it occurs that: Exception has occurred: AttributeError module 'tensorflow' has no attribute 'function' File "E:\google\malib-master\malib\agents\ddpg\maddpg.py", line 194, in MADDPGAgent @tf.function File "E:\google\malib-master\malib\agents\ddpg\maddpg.py", line 11, in
class MADDPGAgent(OffPolicyAgent):
File "E:\google\malib-master\malib\agents__init__.py", line 1, in
from malib.agents.ddpg.maddpg import MADDPGAgent
File "E:\googlemalib-master\examples\run_trainer.py", line 4, in
from malib.agents.agent_factory import *