Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, config):
'''
:param int agentID: Agent's ID
:param dict config: Dictionary containing hyperparameters
'''
self.networks = [("cNet_", "tNet_")]
super(DQN, self).__init__(config)
self.getQTP1 = self.double if self.c.dqn.double == True else self.vanilla
self.explore = EpsilonGreedy(self.cNet, config, self.sess)
self.saliency = Saliency(config, self.cNet, self.sess)