reinforcement-learning - 在 A2C 中创建分离的演员和评论家模型,ray[rrlib]
问题描述
是否可以从配置文件中为 A2C 中的演员和批评者模型分离模型,如以下配置字典?
# Model options for the actor.
"Actor_model": {
"fcnet_activation": "relu",
"fcnet_hiddens": [256, 256],
},
# Model options for the critic.
"critic_model": {
"fcnet_activation": "relu",
"fcnet_hiddens": [128, 128],
},
解决方案
推荐阅读
- python - 在迭代列表时使用 Python 更新最小值和最大值
- python - 如何在Flask webapp中拆分子进程的输出行
- ios - 如何在 TabBarController 中重用系统图标?
- javascript - 如何从 php 脚本中获取响应文本?
- html - 图像类型 webp。浏览器加载两种格式
- java - 检查数组是否为 123
- python - 一种将嵌套 json 解压到数据框中的有效方法
- android - 如何使用 getKey() 制作从 firebase 检索数据的 recyclerView?
- javascript - 我可以使用 Node.js 包(例如 request)来抓取这个 WA 政府网站上的 AngularJS 响应吗?
- sqlite - 如何每行有多个值