ExecutionEnviroment problem on optimizer at traininOptions

조회 수: 4 (최근 30일)
Hasan Bahadir Karadas
Hasan Bahadir Karadas 2021년 12월 25일
답변: Joss Knight 2021년 12월 28일
I am working on Virtual Machine instace on google cloud and aiming to use gpu power for training but when I added ExecutionEnviroment, it gave me optimizer error. What can I do?
options = trainingOptions('sgdm', ...
'MiniBatchSize',75, ...
'MaxEpochs',1, ...
'InitialLearnRate',1e-4, ...
'Shuffle','every-epoch', ...
'Verbose',false, ...
'Plots','training-progress',...
'ValidationData',imdsValidation, ...
'ExecutionEnvironment','multi-gpu');
Error using nnet.cnn.TrainingOptionsSGDM (line 117)
'ExecutionEnviroment' is not an option for solver 'sgdm'.
Error in trainingOptions (line 315)
opts = nnet.cnn.TrainingOptionsSGDM(varargin{:});
Error in MachineLearning (line 29)
options = trainingOptions('sgdm', ...
  댓글 수: 1
yanqi liu
yanqi liu 2021년 12월 27일
yes,sir,may be
'ExecutionEnvironment','auto'
to run and check the output

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

답변 (1개)

Joss Knight
Joss Knight 2021년 12월 28일
It looks like you typed ExecutionEnviroment instead of ExecutionEnvironment (ie. you missed the second 'n').

카테고리

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