Hi,
I am trying to reproduce the code but I am getting the following error :
/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/theano/tensor/signal/downsample.py:6: UserWarning: downsample module has been moved to the theano.tensor.signal.pool module.
"downsample module has been moved to the theano.tensor.signal.pool module.")
2018-06-07 16:53:29.812020 IST | Warning: skipping Gym environment monitoring since snapshot_dir not configured.
Traceback (most recent call last):
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 143, in spec
return self.env_specs[id]
KeyError: 'InvertedPendulumAdv-v1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "adversarial/scripts/train_adversary.py", line 73, in
env = normalize(GymEnv(env_name, adv_fraction))
File "/home/mujtaba.hasan/Documents/RL/rllab-adv/rllab/envs/gym_env.py", line 54, in init
env = gym.envs.make(env_name)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 118, in make
spec = self.spec(id)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 153, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: InvertedPendulumAdv-v1
File "adversarial/scripts/train_adversary.py", line 77, in
env = normalize(GymEnv(env_name, adv_fraction))
File "/Users/xuhonghui/Desktop/DRL_Attack/robust-adversarial-rl/rllab-adv/rllab/envs/gym_env.py", line 54, in init
env = gym.envs.make(env_name)
File "/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 183, in make
return registry.make(id, **kwargs)
File "/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 124, in make
spec = self.spec(path)
File "/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 169, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: InvertedPendulumAdv-v1
Hi, I am trying to reproduce the code but I am getting the following error :
/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/theano/tensor/signal/downsample.py:6: UserWarning: downsample module has been moved to the theano.tensor.signal.pool module. "downsample module has been moved to the theano.tensor.signal.pool module.") 2018-06-07 16:53:29.812020 IST | Warning: skipping Gym environment monitoring since snapshot_dir not configured. Traceback (most recent call last): File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 143, in spec return self.env_specs[id] KeyError: 'InvertedPendulumAdv-v1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "adversarial/scripts/train_adversary.py", line 73, in
env = normalize(GymEnv(env_name, adv_fraction))
File "/home/mujtaba.hasan/Documents/RL/rllab-adv/rllab/envs/gym_env.py", line 54, in init
env = gym.envs.make(env_name)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 118, in make
spec = self.spec(id)
File "/home/mujtaba.hasan/anaconda3/envs/rllab3-adv/lib/python3.5/site-packages/gym/envs/registration.py", line 153, in spec
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: InvertedPendulumAdv-v1