Closing plots when training neural networks

10 views (last 30 days)
Gad Licht
Gad Licht on 15 Apr 2025
Answered: Catalytic on 17 Apr 2025
I am training neural networks in a loop and each loop a figure opens up showing loss, rmse, and similar data. I want to keep this figure and keep this figure open for the neural network beign trained, but close it when the next network is being trained. I tried many clear functions to no avail that work in other loops, so please only answer if you have specifically tried this for neural network.
Thank you very much.
  1 Comment
Matt J
Matt J on 17 Apr 2025
Edited: Matt J on 17 Apr 2025
You show no code for how you are training or generating the plots, so we cannot know what problem you are encountering.

Sign in to comment.

Answers (1)

Catalytic
Catalytic on 17 Apr 2025
Try -
close force

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!