def make_obsDeic_ph(name):

        if WHICH_Q == "CNN":
            return U.BatchInput(deicticShape, name=name)
        elif WHICH_Q == "MLP":
            return U.BatchInput(
                [deicticShape[0] * deicticShape[1] * deicticShape[2]],
                name=name)
        else:
            print("WHICH_Q error: must select valid q-function")
Exemplo n.º 2
0
    def make_obsDeic_ph(name):

#        # CNN version
#        return U.BatchInput(deicticShape, name=name)
        
        # MLP version
        return U.BatchInput([deicticShape[0]*deicticShape[1]*deicticShape[2]], name=name)
Exemplo n.º 3
0
    def make_obsDeic_ph(name):

        # CNN version
        return U.BatchInput(deicticShape, name=name)
Exemplo n.º 4
0
 def make_obs_ph(name):
     return U.BatchInput(deicticShape, name=name)
Exemplo n.º 5
0
 def make_obs_ph(name):
     return U.BatchInput(obsShape, name=name)
Exemplo n.º 6
0
 def make_target_ph(name):
     return U.BatchInput([num_cascade], name=name)
Exemplo n.º 7
0
 def make_obs_ph(name):
     return U.BatchInput(obs_space, name=name)
Exemplo n.º 8
0
 def make_weight_ph(name):
     return U.BatchInput([num_states], name=name)
Exemplo n.º 9
0
 def make_actionDeic_ph(name):
     return U.BatchInput(descriptorShapeSmall, name=name)
Exemplo n.º 10
0
 def make_target_ph(name):
     return U.BatchInput([num_actions], name=name)
Exemplo n.º 11
0
 def make_fullImage_ph(name):
     return U.BatchInput(fullImageSize, name=name)
Exemplo n.º 12
0
    def make_actionDeic_ph(name):
#        return U.BatchInput(actionShape, name=name)
        return U.BatchInput(actionShapeSmall, name=name)
 def make_deic_ph(name):
     return U.BatchInput(stateActionShape, name=name)
 def make_stateDeic_ph(name):
     return U.BatchInput(stateDescriptorShapeSmall, name=name)
Exemplo n.º 15
0
 def make_weight_phCascade(name):
     return U.BatchInput([num_cascade], name=name)
Exemplo n.º 16
0
 def make_actions_ph(name):
     return U.BatchInput([num_cascade], dtype=tf.int32, name=name)
Exemplo n.º 17
0
 def make_actionDeic_ph(name):
     return U.BatchInput(deicticActionShape, name=name)
Exemplo n.º 18
0
 def make_weight_fullstate_ph(name):
     return U.BatchInput([num_actions], name=name)
Exemplo n.º 19
0
    def make_target_ph(name):
#        return U.BatchInput([num_actions], name=name)
#        return U.BatchInput([num_cascade,num_states], name=name)
        return U.BatchInput([num_states], name=name)
Exemplo n.º 20
0
 def make_lookDeic_ph(name):
     return U.BatchInput(lookShape, name=name)
Exemplo n.º 21
0
    def make_obs_ph(name):
#        return U.BatchInput(env.observation_space.shape, name=name)
        return U.BatchInput(robShape, name=name)
Exemplo n.º 22
0
 def make_target_ph(name):
     return U.BatchInput([1], name=name)
Exemplo n.º 23
0
 def make_obs_ph(name):
     return U.BatchInput(env.observation_space.spaces[0].shape, name=name)
Exemplo n.º 24
0
 def make_weight_ph(name):
     return U.BatchInput([env.action_space.n], name=name)
Exemplo n.º 25
0
 def make_ppDeic_ph(name):
     return U.BatchInput(ppShape, name=name)
Exemplo n.º 26
0
 def make_match_ph(name):
     return U.BatchInput(matchShape, name=name)
Exemplo n.º 27
0
 def make_weight_ph(name):
     return U.BatchInput([1], name=name)
Exemplo n.º 28
0
 def make_actionDeic_ph(name):
     return U.BatchInput([patchSizeSmall, patchSizeSmall, 2], name=name)