Comments (10)
@blobsimulator @ymolists
Try with gym version 0.9.5
I had same problem, changing gym helped.
from multiagent-particle-envs.
Traceback (most recent call last):
File "bin/interactive.py", line 23, in
env.render()
File "/usr/local/lib/python3.5/dist-packages/gym/core.py", line 110, in render
raise NotImplementedError
NotImplementedError
Is there perhaps a directory issue going on now? Thanks a lot for helping out @nikunjparmar828
from multiagent-particle-envs.
@blobsimulator Can you please send those new errors.I did same change and my code is running well.
from multiagent-particle-envs.
for some reason, the default scenario in interactive.py was not set. should be fixed now
from multiagent-particle-envs.
I've just cloned and I still have the same issue with python 3. Any suggestions?
from multiagent-particle-envs.
Could you post the error? It works for me when I clone and I'm using Python 3.5.4
from multiagent-particle-envs.
or you mean it's the same error as blobsimulator was getting?
from multiagent-particle-envs.
@ryan-lowe I see. I'm using Python 3.5.2 loaded into a Pycharm-Env. I'm on linux ubuntu 16.04. I'll look into switching to 3.5.4. You might have nailed it.
from multiagent-particle-envs.
Yes, same error on bin/interactive.py --scenario simple.py
Traceback (most recent call last): File "bin/interactive.py", line 21, in <module> env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation, info_callback=None, shared_viewer = False) File "/home/ep15/mylibs/multiagents-particle-envs_36/multiagent-particle-envs/bin/../multiagent/environment.py", line 68, in __init__ self.observation_space.append(spaces.Box(low=-np.inf, high=+np.inf, shape=(obs_dim),)) File "/home/ep15/anaconda2/envs/py364/lib/python3.6/site-packages/gym/spaces/box.py", line 33, in __init__ Space.__init__(self, shape, dtype) File "/home/ep15/anaconda2/envs/py364/lib/python3.6/site-packages/gym/core.py", line 161, in __init__ self.shape = None if shape is None else tuple(shape) TypeError: 'int' object is not iterable
It occur with python 3 (tested on 3.6.4 and 3.5)
SO: Ubuntu 16.04
from multiagent-particle-envs.
i have the same issue in ubuntu17.10. i used virtualenv to create an env for both python2 and python3 and i still get the same error.
(multiagent-particle-envs.000) ~/3rdp/apps/openai/multiagent-particle-envs$ ./bin/interactive.py --scenario simple.py
WARN: gym.spaces.Box autodetected dtype as <type 'numpy.float32'>. Please provide explicit dtype.
Traceback (most recent call last):
File "./bin/interactive.py", line 23, in
env.render()
File "/data/3rdp/apps/openai/multiagent-particle-envs.000/local/lib/python2.7/site-packages/gym/core.py", line 111, in render
raise NotImplementedError
NotImplementedError
from multiagent-particle-envs.
Related Issues (20)
- raise NotImplementedError
- FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Jarvis\\Desktop\\r-maac-main\\multiagent\\scenarios\\spread_collect.py'
- This code base is no longer maintained HOT 3
- the code about good_agents & adversaries at simple_tag.py
- What is the input form of the action in the‘simple_reference’? HOT 2
- If want to change the scenario from simple to other, how should I do? HOT 1
- Centralized learning-decentralized execution clarification (engineering perspective)
- how to restore the game process after so many times of episodes?
- Turn the environment into 3D HOT 2
- Questions about agent`s state information in MADDPG
- Running timeout!
- cant run different scenarios except simply.py HOT 1
- NN code
- Use the checkpoint file to continue training
- How to delete a landmark when training HOT 1
- Index error: list index out of range
- Questions about simple_spread agent actions
- Add image as background
- RuntimeWarning: invalid value encountered in logaddexp
- Wrong reward in simple speaker listener HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multiagent-particle-envs.