mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-19 13:32:03 +00:00
Add benchmark support (#338)
* Warn if seed doesn't return a list * Add preliminary BenchmarkRun support * Add experimental benchmark registration * Flesh out interface * Add preliminary BenchmarkRun support * Warn if seed doesn't return a list * Add experimental benchmark registration * Flesh out interface * Make benchmarkrun upload recursive * Add evaluation episodes * Add benchmark scoring * Tweak reward locations * Tweak scoring * Clear default metadata in Wrapper * Improve scoring * Expose registry; fix test * Add initial_reset_timestamp * Add back algorithm; fix tests
This commit is contained in:
14
gym/error.py
14
gym/error.py
@@ -5,7 +5,19 @@ class Error(Exception):
|
||||
|
||||
# Local errors
|
||||
|
||||
class UnregisteredEnv(Error):
|
||||
class Unregistered(Error):
|
||||
"""Raised when the user requests an item from the registry that does
|
||||
not actually exist.
|
||||
"""
|
||||
pass
|
||||
|
||||
class UnregisteredEnv(Unregistered):
|
||||
"""Raised when the user requests an env from the registry that does
|
||||
not actually exist.
|
||||
"""
|
||||
pass
|
||||
|
||||
class UnregisteredBenchmark(Unregistered):
|
||||
"""Raised when the user requests an env from the registry that does
|
||||
not actually exist.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user