フィルターのクリア

how can i fix this error Error using gpuArray/arrayfun 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)'.

3 ビュー (過去 30 日間)
YTest = classify(cifar10Net, testDigitData);
I am using MATLAB 2017a
with GPU
Name: 'GeForce 920MX'
Index: 1
ComputeCapability: '5.0'
SupportsDouble: 1
DriverVersion: 8
ToolkitVersion: 8
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 2.1475e+09
AvailableMemory: 1.6472e+09
MultiprocessorCount: 2
ClockRateKHz: 993000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1

回答 (1 件)

Joss Knight
Joss Knight 2017 年 10 月 16 日
Try reducing the number of digits you are trying to classify at once, to reduce the amount of memory needed to process them. See the 'MiniBatchSize' setting.
  2 件のコメント
Huawei Tian
Huawei Tian 2018 年 2 月 6 日
when I set MiniBatchSize as 20, only 20 image are feed to classify! How can I feed next 20 images?
Joss Knight
Joss Knight 2018 年 2 月 7 日
If you passed all your data to classify, all of it will be classified. So you'll have to post the code you are using so we can see what you're actually doing.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by