您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
51 行
816 B
51 行
816 B
"""
|
|
Contains exceptions for the trainers package.
|
|
"""
|
|
|
|
|
|
class TrainerError(Exception):
|
|
"""
|
|
Any error related to the trainers in the ML-Agents Toolkit.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class CurriculumError(TrainerError):
|
|
"""
|
|
Any error related to training with a curriculum.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class CurriculumLoadingError(CurriculumError):
|
|
"""
|
|
Any error related to loading the Curriculum config file.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class CurriculumConfigError(CurriculumError):
|
|
"""
|
|
Any error related to processing the Curriculum config file.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class MetaCurriculumError(TrainerError):
|
|
"""
|
|
Any error related to the configuration of a metacurriculum.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class SamplerException(TrainerError):
|
|
"""
|
|
Related to errors with the sampler actions.
|
|
"""
|
|
|
|
pass
|