def __init__(self):
super().__init__()
self.lua_interface_path = os.path.join(package_directory, '../lua/soccer.lua')
self.rom_file_path = os.path.join(package_directory, '../roms/soccer.nes')
self.actions = [
'R', 'UR', 'DR',
'B', 'URB', 'DRB', 'RB',
'AB', 'RAB', 'URAB', 'DRAB'
]
self.action_space = spaces.Discrete(len(self.actions))
评论列表
文章目录