Skip to content

Instantly share code, notes, and snippets.

@denisyarats
Created July 3, 2019 15:21
Show Gist options
  • Save denisyarats/c7d4b088cb68f6172042c5ca1f9af177 to your computer and use it in GitHub Desktop.
Save denisyarats/c7d4b088cb68f6172042c5ca1f9af177 to your computer and use it in GitHub Desktop.
seed
import dmc2gym
import numpy as np
import gym
import sys
seed = int(sys.argv[1])
env = dmc2gym.make(
'point_mass',
'easy',
seed,
visualize_reward=True,
from_pixels=False)
env.seed(seed)
print(env.reset())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment