The function trainNetwork is slow during startup - what is the cause?
Show older comments
Hello!
I'm training a segmentation network (a modified unetLayers-network) on ~30000 128x128 images, using a validation set of about 7000 128x128 images. However when I start my training progress (using trainNetwork), it takes around 10 minutes after the training-progress-window shows up before any data is plotted in the window. Since the normalization is performed before this window appears (according to a popup-window), what is is it that takes this time during the startup of the training process for the trainNetwork-function? I'm aware that this is most likely due to the size of my dataset and hardware constraints (a single NVIDIA GPU), but I'm curious about what process is running here.
Edit: It should also be noted that when pressing the button for early stopping, it can take up to 15 minutes for it to finish.
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!