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

10 vues (au cours des 30 derniers jours)
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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by