Question about convert PPO agent to ONNX

4 views (last 30 days)
Cheng Huan
Cheng Huan on 27 Jun 2025
Commented: Cheng Huan on 9 Jul 2025
Greetings,
I encountered the error shown in figure when I tried to execute the ONNX on ubuntu at the first time.
Then I found it was the problem caused by rlContinuousGaussianActor, so I removed the mp_out and sdev layers and it worked!
But I don't understand why it worked due to as my knowledge after I removed those layers it will mess up the PPO structure.
So what should I do? Keep working without mp_out and sdev layers or trying to fix them?
however, I have no idea about how to fix them, so I am confused.
Thank your time for watching or answering me.
Best wish,
HUAN
  2 Comments
Anjaneyulu Bairi
Anjaneyulu Bairi on 1 Jul 2025
Hey,
can you share any relevant files and steps to reproduce the issue?
Cheng Huan
Cheng Huan on 9 Jul 2025
Greeting Bairi,
Due to the files are a little orderless, I am currently working on uploading them into GitHub, and after then I will re-post it! Thank you a lot!
Best wish,
HUAN

Sign in to comment.

Answers (0)

Categories

Find more on Agriculture in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!