Can I use NN built with Fitnet for Reinforcement Learning toolbox with DQN agent?

1 次查看(过去 30 天)
Hello ,
Can I reuse the neural network built with Fitnet fuction (Function fitting neural network), inside Reinforcement Learning toolbox with DQN agent?
The neural network does not look like layers as in the Deep Network Designer. I tried using them but not able to provide the 'ImageInputLayer' to the fitnet Network.
critic = rlQValueRepresentation(net1,observationInfo,actionInfo,'Observation',{net1.inputs{1}.name});
I tried above also but still not working.
Anybody tried this method or any suggestion for a work around?

采纳的回答

Emmanouil Tzorakoleftherakis
Hi Abhay,
Reinforcement Learning Toolbox currently supports the layers supported by Deep Learning Toolbox only. You could try converting your network using Deep Learning Toolbox layers after extracting the trained parameters.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by