Borrar filtros
Borrar filtros

Deep Learning Custom Training Loop

5 visualizaciones (últimos 30 días)
jiayi
jiayi el 18 de Abr. de 2023
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;

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by