Well, in reinforcement learning toolbox pre-defined agent, we can use sim(env, agent) to get the simulation from the trained agent. But how to deal with the custom environment with self defined step.m and reset.m ?
how to simulate custom reinforcement learning agent?
1 次查看(过去 30 天)
显示 更早的评论
I have define custom environment(include step.m and reste.m ), and defined ddpg agent for trainning. After finished learning, i have get the trained agent, how can i export the action sequence from the result agent? in the step.m file, i have define render_plot function to simulate current state. Can i get the action from trained agent and import it to step.m to simulate?
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!