필터 지우기
필터 지우기

Deep Learning Custom Training Loop

조회 수: 5 (최근 30일)
jiayi
jiayi 2023년 4월 18일
If I want to use matlab to strengthen learning and interact with the experimental environment, can I get data with sim function?
out=sim(agent, env);
for stepCt = 1:maxSteps
% Append experience to replay memory buffer.
myBuffer.observations=out.Observation.observations.Data(:,:,1:myBuffer.bufferSize-1);
myBuffer. nextObservation=out.Observation.observations.Data(:,:,2:myBuffer.bufferSize);
myBuffer.action =out.Action.force.Data;
myBuffer.reward = out.Reward.Data;
myBuffer.isDone = out.IsDone.Data;

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by