浏览代码

predict model fix

/develop/bisim-review
yanchaosun 5 年前
当前提交
da87eae9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/policy/transfer_policy.py

2
ml-agents/mlagents/trainers/policy/transfer_policy.py


with tf.variable_scope("predict"):
self.create_forward_model(self.encoder, self.targ_encoder, forward_layers,
predict_reward=predict_return)
predict_reward=predict_return, var_predict=var_predict)
# if var_predict:
# self.predict_distribution, self.predict = self._create_var_world_model(

正在加载...
取消
保存