planet/networks/conv_ha.py
def encoder(obs):
  """Extract deterministic features from an observation."""
  obs = obs['image']
  hidden = tf.layers.dense(obs, 1024, tf.nn.relu)#keras.layers.Dense(500, activation='relu')(obs)
  hidden = tf.layers.dense(hidden, 1024, tf.nn.relu)#keras.layers.Dense(500, activation='relu')(hidden)
  hidden = tf.layers.dense(hidden, 1024, None)#keras.layers.Dense(1024)(hidden)
  return hidden
Extract deterministic features from an observation.
Extract deterministic features from an observation.
Extract deterministic features from an observation .
def encoder(obs):
  obs = obs['image']
  hidden = tf.layers.dense(obs, 1024, tf.nn.relu)
  hidden = tf.layers.dense(hidden, 1024, tf.nn.relu)
  hidden = tf.layers.dense(hidden, 1024, None)
  return hidden
def encoder ( obs ) : obs = obs [ 'image' ] hidden = tf . layers . dense ( obs , 1024 , tf . nn . relu ) hidden = tf . layers . dense ( hidden , 1024 , tf . nn . relu ) hidden = tf . layers . dense ( hidden , 1024 , None ) return hidden
Extract deterministic features from an observation.
Extract deterministic features from an observation .
"""Extract deterministic features from an observation.""" #keras.layers.Dense(500, activation='relu')(obs) #keras.layers.Dense(500, activation='relu')(hidden) #keras.layers.Dense(1024)(hidden)
obs