geek-ai / MAgent

A Platform for Many-Agent Reinforcement Learning
MIT License
1.68k stars 332 forks source link

is there something wrong? #8

Closed dodolook-dlut closed 6 years ago

dodolook-dlut commented 6 years ago

python examples/train_pursuit.py --train

libgomp: Invalid value for environment variable OMP_NUM_THREADS Traceback (most recent call last): File "examples/train_pursuit.py", line 133, in target_update=1000, train_freq=4 File "/home/hello/magent/python/magent/model.py", line 153, in init listener = multiprocessing.connection.Listener(addr) File "/usr/lib/python2.7/multiprocessing/connection.py", line 132, in init self._listener = SocketListener(address, family, backlog) File "/usr/lib/python2.7/multiprocessing/connection.py", line 256, in init self._socket.bind(address) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(args) socket.error: [Errno 98] Address already in use Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(self._args, self._kwargs) File "/home/hello/magent/python/magent/model.py", line 294, in model_client model = RLModel(model_args) File "/home/hello/magent/python/magent/builtin/tf_model/dqn.py", line 94, in init self.qvalues = self._create_network(self.input_view, self.input_feature, use_conv) File "/home/hello/magent/python/magent/builtin/tf_model/dqn.py", line 164, in _create_network h_conv1 = tf.layers.conv2d(input_view, filters=kernel_num[0], kernel_size=3, AttributeError: 'module' object has no attribute 'layers'