Error using parallel-cpu with trainnet function

45 views (last 30 days)
Ramiro
Ramiro on 21 Nov 2024 at 21:34
Commented: Subhajyoti on 2 Dec 2024 at 7:11
Hi, I got this error when trying to train a neural network using the trainnet function. The first time I trained the network everything works fine, but when I tried to use validation data I got an error. Then I tried to retrain the network without validation data but I got this error:
Error detected on worker 3.
net = train(trainer, net, mbq);
Error in trainnet (line 42)
[net,info] = deep.internal.train.trainnet(mbq, net, loss, options, ...
Caused by:
Out of Memory during deserialization
I have deleted the Jobs of the cluster but nothing worked.
Can anybody help me to solve the issue?
  3 Comments
Ramiro
Ramiro on 22 Nov 2024 at 13:00
Hi @Saurabh, I have attached the files of the source code.
Regards
Ramiro
Subhajyoti
Subhajyoti on 2 Dec 2024 at 7:11
Also share the train and test MAT files.
They are required to run the script.

Sign in to comment.

Answers (0)

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!