Matlab训练神经网络trainNetwork显示的训练图关闭

 在options参数里:

options = trainingOptions('sgdm', ...
    'MaxEpochs',8, ...
    'ValidationData',{XValidation,YValidation}, ...
    'ValidationFrequency',30, ...
    'Verbose',false, ...
    'Plots','training-progress');

Plots设为training-progress是显示开启

        设为none则关闭,(不设置默认是none)

即改为

options = trainingOptions('sgdm', ...
    'MaxEpochs',8, ...
    'ValidationData',{XValidation,YValidation}, ...
    'ValidationFrequency',30, ...
    'Verbose',false, ...
    'Plots','none');

你可能感兴趣的:(神经网络,人工智能,深度学习,matlab)