浏览代码

Error message when using ODD and Curiosity (#883)

* Remove extra bouncer brain hyperparameters

* Add error when using curiosity+odd
/develop-generalizationTraining-TrainerController
GitHub 7 年前
当前提交
68d6170f
共有 2 个文件被更改,包括 3 次插入6 次删除
  1. 6
      python/trainer_config.yaml
  2. 3
      python/unitytrainers/ppo/trainer.py

6
python/trainer_config.yaml


gamma: 0.995
beta: 0.001
BouncerBrain:
normalize: true
max_steps: 5.0e5
num_layers: 2
hidden_units: 56
TennisBrain:
normalize: true

3
python/unitytrainers/ppo/trainer.py


:return: Intrinsic rewards for all agents.
"""
if self.use_curiosity:
if curr_info.agents != next_info.agents:
raise UnityTrainerException("Training with Curiosity-driven exploration"
" and On-Demand Decision making is currently not supported.")
feed_dict = {self.model.batch_size: len(curr_info.vector_observations), self.model.sequence_length: 1}
if self.is_continuous_action:
feed_dict[self.model.output] = next_info.previous_vector_actions

正在加载...
取消
保存