lmzintgraf / cavia

Code for "Fast Context Adaptation via Meta-Learning"
MIT License
139 stars 40 forks source link

AssertionError: Running RL problem with MAML #6

Closed HardworkingPearl closed 4 years ago

HardworkingPearl commented 4 years ago

Has anyone encountered a similar problem as me?

/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
Process EnvWorker-8:
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
Process EnvWorker-2:
Process EnvWorker-6:
Process EnvWorker-1:
Process EnvWorker-10:
Process EnvWorker-12:
Process EnvWorker-39:
Process EnvWorker-5:
Process EnvWorker-21:
Process EnvWorker-14:
Process EnvWorker-3:
Process EnvWorker-23:
Traceback (most recent call last):
/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/spaces/box.py:128: RuntimeWarning: invalid value encountered in greater_equal
  return x.shape == self.shape and np.all(x >= self.low) and np.all(x <= self.high)
  File "/home/qiuhao/anaconda3/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/home/qiuhao/qiuhaolovestudy/cavia/rl/envs/subproc_vec_env.py", line 46, in run
    if self.done else self.env.step(data))
  File "/home/qiuhao/anaconda3/lib/python3.7/site-packages/gym/wrappers/time_limit.py", line 16, in step
    observation, reward, done, info = self.env.step(action)
  File "/home/qiuhao/qiuhaolovestudy/cavia/rl/envs/navigation.py", line 54, in step
    assert self.action_space.contains(action)