浏览代码

one more unused

/develop-generalizationTraining-TrainerController
Chris Elion 5 年前
当前提交
9924c40e
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      ml-agents/mlagents/trainers/components/bc/model.py

1
ml-agents/mlagents/trainers/components/bc/model.py


:param anneal_steps: Number of steps over which to anneal the learning_rate
"""
selected_action = self.policy_model.output
action_size = self.policy_model.act_size
if self.policy_model.brain.vector_action_space_type == "continuous":
self.loss = tf.reduce_mean(
tf.squared_difference(selected_action, self.expert_action)

正在加载...
取消
保存