D4RL
D4RL copied to clipboard
[Question] get_dataset failed
Question
when I run
env = gym.make('maze2d-umaze-v1')
env.reset()
env.step(env.action_space.sample())
dataset = env.get_dataset()
print(dataset['observations'])
something wrong happened:
urllib.error.HTTPError: HTTP Error 404: Not Found
I have tried to download dataset directly from link [link], however I don't have permission to access /datasets/offline_rl/maze2d/maze2d-umaze-sparse-v1.hdf5 on this server. How can i fix this problem?
import gym import d4rl env_name = "halfcheetah-medium-v2" env = gym.make(env_name) dataset = d4rl.qlearning_dataset(env)
I have the same issue with the above code
import gym import d4rl env_name = "halfcheetah-medium-v2" env = gym.make(env_name) dataset = d4rl.qlearning_dataset(env)
I have the same issue with the above code
The problem may be caused by an internet connection issue. Downloading the data manually and placing it under the corresponding path will solve it.
Hello friends, I had a similar problem and this solved the issue for me:
Install the stable version of D4RL from here: https://github.com/Farama-Foundation/D4RL/tree/master
Alternatively, datasets can be downloaded from these links (in my case the links were different, starting with gs): https://github.com/Farama-Foundation/D4RL/blob/master/d4rl/infos.py
Have a nice day!