浏览代码

[skip ci] Removing no-longer-useful comment

We concatenate the encodes instead of adding them up
/develop/singular-embeddings
vincentpierre 4 年前
当前提交
19a8244b
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      ml-agents/mlagents/trainers/torch/networks.py

1
ml-agents/mlagents/trainers/torch/networks.py


"Make sure the trained agents has at least one sensor attached to them."
)
# Constants don't work in Barracuda
if actions is not None:
encoded_self = torch.cat([encoded_self, actions], dim=1)
encoding = self.linear_encoder(encoded_self)

正在加载...
取消
保存