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")
示例#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)
示例#3
0
    def make_obsDeic_ph(name):

        # CNN version
        return U.BatchInput(deicticShape, name=name)
示例#4
0
 def make_obs_ph(name):
     return U.BatchInput(deicticShape, name=name)
示例#5
0
 def make_obs_ph(name):
     return U.BatchInput(obsShape, name=name)
示例#6
0
 def make_target_ph(name):
     return U.BatchInput([num_cascade], name=name)
 def make_obs_ph(name):
     return U.BatchInput(obs_space, name=name)
示例#8
0
 def make_weight_ph(name):
     return U.BatchInput([num_states], name=name)
示例#9
0
 def make_actionDeic_ph(name):
     return U.BatchInput(descriptorShapeSmall, name=name)
示例#10
0
 def make_target_ph(name):
     return U.BatchInput([num_actions], name=name)
示例#11
0
 def make_fullImage_ph(name):
     return U.BatchInput(fullImageSize, name=name)
    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)
 def make_weight_phCascade(name):
     return U.BatchInput([num_cascade], name=name)
示例#16
0
 def make_actions_ph(name):
     return U.BatchInput([num_cascade], dtype=tf.int32, name=name)
示例#17
0
 def make_actionDeic_ph(name):
     return U.BatchInput(deicticActionShape, name=name)
示例#18
0
 def make_weight_fullstate_ph(name):
     return U.BatchInput([num_actions], name=name)
示例#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)
示例#20
0
 def make_lookDeic_ph(name):
     return U.BatchInput(lookShape, name=name)
示例#21
0
    def make_obs_ph(name):
#        return U.BatchInput(env.observation_space.shape, name=name)
        return U.BatchInput(robShape, name=name)
示例#22
0
 def make_target_ph(name):
     return U.BatchInput([1], name=name)
示例#23
0
 def make_obs_ph(name):
     return U.BatchInput(env.observation_space.spaces[0].shape, name=name)
 def make_weight_ph(name):
     return U.BatchInput([env.action_space.n], name=name)
示例#25
0
 def make_ppDeic_ph(name):
     return U.BatchInput(ppShape, name=name)
示例#26
0
 def make_match_ph(name):
     return U.BatchInput(matchShape, name=name)
示例#27
0
 def make_weight_ph(name):
     return U.BatchInput([1], name=name)
 def make_actionDeic_ph(name):
     return U.BatchInput([patchSizeSmall, patchSizeSmall, 2], name=name)