In last version of gym==0.7.3 there is no more Taxi-v1 env because of #345.
But it is either not possible to upload results for Taxi-v2 , i.e. gym.upload(...) raises
InvalidRequestError: Request req_RmFUYGHlT2qqNm6KZEaGww: This version of the environment is not registered on the server, but other versions exist. You may need to upgrade your version of gym. Env Taxi-v2 not found (valid versions include ['Taxi-v1'])
I guess something need to be updated on the server.
import gym
env = gym.make("Taxi-v2")
env = gym.wrappers.Monitor(env, directory="videos", force=True)
o = env.reset()
for t in range(100):
o, r, done, _ = env.step(env.action_space.sample())
if done:
break
env.close()
gym.upload("videos",api_key=TOKEN)
There is possibly also a problem with video recording for new environement Taxi-v2.
Currently i get no mp4 file in a directory i am writing to (only json ones). But I guess I could be missing something.
@jietang Is the deployed scoreboard lagging the gym release here?
About the PS up there, is that a real issue? or a misconfiguration?
I recorded a couple of environments from a jupyter notebook and all of them only saved .json files, not mp4.
While graphical environments produce an mp4, text environments like Taxi produce an ASCIIcast file which are a type of JSON file.
Ok, I feel really ashamed right now. Thank you very much for your response.
Why is this closed? I too cannot upload taxi-v2 solution. I get the same error:
This version of the environment is not registered on the server, but other versions exist. You may need to upgrade your version of gym. Env Taxi-v2 not found (valid versions include ['Taxi-v1'])
And the only version of taxi is https://gym.openai.com/envs/Taxi-v1
Still getting same error as Taygrim when I try to upload taxi-v2 solution. Please fix, as Taxi is unusable right now.
TL;DR:
Taxi-v1 is deprecated, but Taxi-v2 is not supported for upload.
Most helpful comment
Why is this closed? I too cannot upload taxi-v2 solution. I get the same error:
This version of the environment is not registered on the server, but other versions exist. You may need to upgrade your version of gym. Env Taxi-v2 not found (valid versions include ['Taxi-v1'])
And the only version of taxi is https://gym.openai.com/envs/Taxi-v1