mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[RLlib] Tf2.x native. (#8752)
This commit is contained in:
@@ -57,6 +57,7 @@ class Preprocessor:
|
||||
observation = np.array(observation)
|
||||
try:
|
||||
if not self._obs_space.contains(observation):
|
||||
print()
|
||||
raise ValueError(
|
||||
"Observation outside expected value range",
|
||||
self._obs_space, observation)
|
||||
|
||||
Reference in New Issue
Block a user