- サンプルモデルの紹介Webサイトの右側にある「View MATLAB Command」をクリックする。
- 表示されたコマンドをMATLABのコマンドウィンドウで実行する。(例えば今回のサンプルモデルでは、openExample('rl/MATLABCartPoleParACExample') となっています)
Train AC Agent to Balance Cart-Pole System Using Parallel ComputingのrlValueRepresentationについて
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
現在Train AC Agent to Balance Cart-Pole System Using Parallel Computingを使おうと思い、実行したのですが
rlValueRepresentationが認識されませんとエラーが出てしまいます。
rlStochasticActorRepresentationも同様にエラーが出ます。
どのようにしたら改善されるのでしょうか。
プログラムの中は以下のようなっています
critic側の作成
criticNetwork = [
    imageInputLayer([4 1 1],'Normalization','none','Name','state')
    fullyConnectedLayer(32,'Name','CriticStateFC1')
    reluLayer('Name','CriticRelu1')
    fullyConnectedLayer(1, 'Name', 'CriticFC')];
criticOpts = rlRepresentationOptions('LearnRate',1e-2,'GradientThreshold',1);
critic = rlValueRepresentation(criticNetwork,obsInfo,'Observation',{'state'},criticOpts);
댓글 수: 0
답변 (2개)
  Toshinobu Shintai
    
 2020년 4월 7일
        お使いのMATLABのバージョンはR2019aまたは19bでしょうか。もしそうであれば、エラーとなります。
理由は、「rlValueRepresentation」や「rlStochasticActorRepresentation」はR2020aから導入された新しいコマンドだからです。分かりにくくて申し訳ありません。
参考までに、各サンプルモデルは、バージョンごとにそれぞれ個別に用意されています。古いバージョンのサンプルモデルを開きたい場合は、以下のようにしてください。
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 インストールとライセンスの紹介에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
