Skip to content

Instantly share code, notes, and snippets.

View stevenRush's full-sized avatar

Eltyshev Evgeny stevenRush

  • Moscow Institute of Physics and Technology
  • Moscow
View GitHub Profile
class DQNAgent:
def __init__(self, name):
with tf.variable_score(name):
self.conv1 = Conv2D(32, 8, (4, 4), padding="same", activation="relu")
self.pool1 = MaxPooling2D((2, 2))
self.conv2 = Conv2D(64, 4, (2, 2), padding="same", activation="relu")
self.pool2 = MaxPooling2D((2, 2))
self.conv3 = Conv2D(64, 3, (1, 1), padding="same", activation"relu")