Why do I get a warning While loading an object of class 'nnet.cnn.​TrainingOp​tionsADAM' ?

10 次查看(过去 30 天)
Dear Experts,
I need your help! Can you tell me how to correct the following problem?
Warning: While loading an object of class 'nnet.cnn.TrainingOptionsADAM':
The value of 'ValidationData' is invalid. Unable to read file: 'C:\ZELE\KJ\ds1\jk.png'.
> In Az1 (line 4)
Error using Az1 (line 14)
Out of memory on device. To view more detail about available memory on the GPU, use 'gpuDevice()'. If the problem persists, reset the GPU by calling 'gpuDevice(1)'.
Note that I do not have the problem of the memory on my device - see below
CUDADevice with properties:
Name: 'Quadro P520'
Index: 1
ComputeCapability: '6.1'
SupportsDouble: 1
DriverVersion: 11.4000
ToolkitVersion: 11
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 4.2950e+09
AvailableMemory: 3.2032e+09
MultiprocessorCount: 3
ClockRateKHz: 1493000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceAvailable: 1
DeviceSelected: 1

采纳的回答

Gobert
Gobert 2022-4-4
This command has solved the above problem
mapreducer(0)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by