Matalb Academy - Reinforcement Learning Onramp: submission failed
1 ビュー (過去 30 日間)
I am taking the course titled Reinforcement Learning Onramp on MATLAB Academy and everything works fine until section 3.6 (Creating Default Agent Representations).
When I submit my answer, the system showed the given answer is wrong.
Then I tried the code from the solution, but the result was the same.
So, I cannot proceed from here.
Screenshot has been attached.
回答 (2 件)
Matt Tearle 2021 年 3 月 18 日
There was a change in R2021a that caused an incompatibility. We have a fix ready that will go out with the next update to the training course content. In the meantime, use this workaround to enable you to keep working through the Onramp:
layers = [
imageInputLayer([28 28 1],'Name','input','Normalization',"none")
lgraph = layerGraph(layers)
actnet = assembleNetwork(lgraph)
Pavankumar Patil 2021 年 8 月 29 日
Use the sim function to run multiple simulations of the model, using the simulation options in opts.The environment and RL agent are stored in the variables env and agent, respectively.save the result of the simulation to a variable called simout.