Unity 机器学习代理工具包 (ML-Agents) 是一个开源项目,它使游戏和模拟能够作为训练智能代理的环境。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

67 行
1.0 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 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