我如何正确替代rlRepresentation rlValueRepresentation, rlQValueRepresentation, rlDeterministicActorRepresentation, rlStochasticActorRepresentation ?
7视图(30天)
显示旧的评论
我用MATLAB r2020a rlRepresentation在哪里“不推荐”。As a result, I am forced to substitute it with the criritics or actors in the following compatibility guide (
//www.tatmou.com/帮助强化学习/ref / rlrepresentation.html # mw_a6277225 - fecf 4 - d97 - 95491 fc4799bf5b6
)。我试着用rlValueRepresentation代替rlRepresentation, rlQValueRepresentation, rlDeterministicActorRepresentation, rlStochasticActorRepresentation(尽管我离开了
rlRepresentationOptions就是它了)。他们都导致了错误,
rlValueRepresentation和rlStochasticActorRepresentation最少的(同样的)错误:
错误使用rlStochasticActorRepresentation(第93行)
太多的输入参数。
错误createDDPGNetworks(51)行
评论家= rlStochasticActorRepresentation (criticNetwork, criticOptions,…
因为这个评论家和演员都有相同的错误,我认为这可能与
rlRepresentationOptions因为它给属性的演员或评论家(据我了解)。
任何帮助都是感激。
答案(3)
Emmanouil Tzorakoleftherakis
2020年7月17日
它会有帮助如果你粘贴的MATLAB代码你打字看看问题是什么。我怀疑你只是改变了方法名,这就是为什么你得到你所看到的错误。看一看各自方法的文档页面您想要使用(rlValueRepresentation等),确保吗
订单和数量
的参数匹配的文档。
0评论
萨尔玛哈立德
2021年8月5日
- 使用一个创建一个演员rlDeterministicActorRepresentation对象。
- 创建一个使用一个评论家rlQValueRepresentation对象
//www.tatmou.com/help/reinforcement-learning/ug/ddpg-agents.html