how to get the time elapsed in matlab deep learning

조회 수: 5 (최근 30일)
Lee Willy
Lee Willy 2020년 6월 17일
댓글: Lee Willy 2020년 7월 1일
I had saw my training modal's "info" .
But it didn't have any information about training time information.
how can I get the time elapsed ?
Thanks !

채택된 답변

Rushi Vyas
Rushi Vyas 2020년 6월 18일
Hi Lee,
It is my understanding that you want get the elapsed time for training your deep learning model.
When you train your model using trainNetwork(), a “Training Progress” window will appear that has all the necessary information.
You can find the “elapsed time” data under “Training Time” heading
  댓글 수: 3
Rushi Vyas
Rushi Vyas 2020년 6월 18일
I understand that you want to save the elapsed time In a variable.
You can use stopwatch commands tic and toc to save the elapsed time of any function/code. For example,
>> tic;
trainNetwork(imdsTrain,layers,options);
elapsed = toc;
>> elapsed
elapsed =
81.4179
Lee Willy
Lee Willy 2020년 7월 1일
I got it. Thank a lots.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by