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

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