def __init__(self): AIModel.__init__(self) self.__agentEnv = None self.__groupList = list() self.__noButtonCount = 0 self.__stuckCount = 0 self.__clickCount = 0 self.__prevGroupID = None self.__prevSceneID = None self.__prevButtonID = None self.__nextGroupID = None self.__nextSceneID = None # UI explore setting self.__maxClickNumber = 2000 self.__waitTime = 2 self.__graphFolder = None self.__actionFolder = None self.__explorePath = None # button detection setting self.__modelType = None self.__detector = None self.__mask = None # UI coverage setting self.__computeCoverage = True self.__sampleFolder = None self.__orbThreshold = 0.10 # debug setting self.__showButton = False self.__showCostTime = True self.__showImageRatio = 1.0 self.__testGetState = False
def __init__(self): AIModel.__init__(self) self.__proxySocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.__env = None self.__done = True self.__sendTime = None self.__recvTime = None self.__width = -1 self.__height = -1 self.__envCfgPath = None
def __init__(self): AIModel.__init__(self) self.testAgent = False self.actionSpace = None self.trainFPS = None self.trainStep = 0 self.firstRunning = 0 self.timePerFrame = None self.testAgent = False self.brain = None self.testAgent = False self.lastFrameTime = None
def __init__(self): AIModel.__init__(self) self.mainImitationLearning = MainImitationLearning() self.mainImitationLearning.Init() self.useLstm = self.mainImitationLearning.useLstm self.actionPerSecond = self.mainImitationLearning.actionPerSecond self.network = self.mainImitationLearning.netWork self.network.LoadWeights() self.agentEnv = None self.imgList = [] self.featureConcat = [] self.__timeCheckAI = -1 self.__timeCheckAIWait = 1. / self.actionPerSecond
def __init__(self): AIModel.__init__(self)