您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
75 行
1.2 KiB
75 行
1.2 KiB
"""
|
|
Contains exceptions for the trainers package.
|
|
"""
|
|
|
|
|
|
class TrainerError(Exception):
|
|
"""
|
|
Any error related to the trainers in the ML-Agents Toolkit.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class TrainerConfigError(Exception):
|
|
"""
|
|
Any error related to the configuration of trainers in the ML-Agents Toolkit.
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class TrainerConfigWarning(Warning):
|
|
"""
|
|
Any warning related to the configuration of 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
|
|
|
|
|
|
class UnityTrainerException(TrainerError):
|
|
"""
|
|
Related to errors with the Trainer.
|
|
"""
|
|
|
|
pass
|