trainNetwork stops after one iteration

조회 수: 1 (최근 30일)
Niklas
Niklas 2018년 5월 25일
댓글: Niklas 2018년 8월 16일
Hi all, i run into trouble using trainNetwork. Sometimes training stops after one iteration without any error message and the GPU utilization goes down to 0%. The process itself runs with 100% CPU utilization.
We use 4D-Imagearrays for training. The trainingOptions are:
training_options = trainingOptions('sgdm','MaxEpochs',200,...
'InitialLearnRate', 0.01,...
'ExecutionEnvironment', 'gpu',...
'Shuffle', 'every-epoch',...
'ValidationData', {validation_images, validation_labels},...
'ValidationPatience', 8,...
'MiniBatchSize', 256);
Our systems have 1080Ti's and 12G memory. For some reason this error does not occur on K80 GPUs. For me it seems that this is related to the architecture of the GPUs.
Does someone run into the same issue? Thanks for suggestions to solve this.
Edit: I tested all nodes. The training runs normal on the ones with K80 GPUs. On all machines with 1080TIs the training aborts after one iteration with high CPU utilization.
  댓글 수: 2
Joss Knight
Joss Knight 2018년 6월 2일
The training stops after a single iteration with no message at all? Or do you mean it stops after displaying only a single line of verbose output?
Set 'VerboseFrequency' to 1 and 'ValidationPatience' to Inf and run again, just to check.
Niklas
Niklas 2018년 8월 16일
Hi Joss,
yes the training stops without any further messages. I submitted a service request and we weren't able to track this error.
We now switched to 2018a and everything seems fine so far.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel and Cloud에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by