MATLAB Online keeps terminating when training my NNet

I have just begun, but my MATLAB Online session keeps resetting by prompting:

emphasized text

This is happening after my NNet training begins.

Any suggestions?


On my browser’s console log (Edge) this is shown:

When using the GPU credits:

Hi @Vorxart,

This may happen as a result of using too much memory at one time. Please try setting a smaller ‘MiniBatchSize’ for training your neural network and see if that helps. I was able to use a MiniBatchSize of 32 for the sample code, but more complicated preprocessing may require a smaller MiniBatchSize so you may wish to try 16 or even 8.

Let me know if that resolves the issue!

Thanks. Although the training runs, but on multiple attempts, after more than an hour I am suddenly taken to the home screen saying:

So it becomes quite frustrating…

I’m sorry to hear that you are experiencing this issue. I have a few clarifying questions that should help me further investigate what may be happening:

  1. Are you opening multiple tabs of MATLAB Online at the same time?
  2. If not, how do you run multiple attempts? For example, do you fully train one model, make some tweaks, then start training another?
  3. Does this occur when using the GPU credits, without the GPU credits, or both?

Thank you,

  1. No. It’s just one tab.
  2. By multiple attempts, I meant to say training all over again due to the sudden ending of my sessions, which happened multiple times. I haven’t able to fully train a single model yet.
  3. I am currently doing this with CPU. I didn’t want to risk my GPU credits in getting wasted, so haven’t tried it out.

Currently I have included my network’s save-points for continuing training when the session ends and beginning from the last saved point.