Comments (3)
We renamed the "mixed" environments to "medium-replay" as a more descriptive name (they are training replay buffers taken from the medium agent).
ant-random-expert-v0 is not throwing an error for me - could you post what error you are getting?
from d4rl.
Thank you Justin! Following your suggestion, I can import "medium-replay" env correctly.
>>> env = gym.make("ant-medium-replay-v0")
/home/mirror/anaconda3/lib/python3.7/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32
warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow'))
However, there is still a problem when importing 'ant-random-expert-v0' environment.
Here is the error raised by making 'ant-random-expert-v0' environment.
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import free_mjc
>>> import mujoco_py
>>> import gym
>>> import d4rl
Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'flow'
Warning: CARLA failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'carla'
>>> env = gym.make("ant-random-expert-v0")
Traceback (most recent call last):
File "/home/mirror/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 121, in spec
return self.env_specs[id]
KeyError: 'ant-random-expert-v0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mirror/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 145, in make
return registry.make(id, **kwargs)
File "/home/mirror/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 89, in make
spec = self.spec(path)
File "/home/mirror/anaconda3/lib/python3.7/site-packages/gym/envs/registration.py", line 131, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: ant-random-expert-v0
from d4rl.
Could you make sure you are running an up-to-date version, and that 'ant-random-expert-v0' is registered at this line? https://github.com/rail-berkeley/d4rl/blob/master/d4rl/gym_mujoco/__init__.py#L237
from d4rl.
Related Issues (20)
- [Question] A question about d4rl which is in Windows
- import d4rl No module named 'flow' and 'carla' HOT 1
- [Question] Expert score for maze2d environment may be wrong HOT 2
- [Question] Question for change the environment
- Issue with env.sim.set_state(obs) , also tried env.set_state(obs)
- Unable to get video using hopper-expert-v2 but was able to get with ant-v2 etc.
- Why is state value not same as env.sim.get_state().qpos and env.sim.get_state().qvel ?
- [Proposal] Humanoid Offline RL data HOT 1
- [Bug Report] d4rl.sequence_dataset raise error when handling mujoco-v2 environments
- [Question] More than 1 goal point for mazes
- [Proposal] Please tag your release code
- [Question] get_dataset failed HOT 3
- Add stochasticity to the environment HOT 1
- [Question] Access to the checkpoints
- [Question] Stochastic of environmental dynamics in Gym control tasks
- [Question] about normalization
- Cython complaint when running example python script that uses d4rl HOT 3
- Will support be added for new MuJoCo bindings?
- [Proposal] Add python 3.11 support
- Terminals? How is the data split up into trajectories and why do you make your own terminal finding code?
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 d4rl.