ディープラーニング入門 GPUメモリが足りない
Show older comments
matlabのディープラーニング入門の最終プロジェクト線虫の生死確認のサンプルプログラムを実行したのですが、
エラー:GPUのメモリが足りません 関数trainingOptionsを使用してMiniBatchSizeを減らしてみてください。
原因:デバイスのメモリが足りません。GPUで利用可能なメモリを表示するにはgpuDevice()を使用します。問題が解決しない場合はgpuDevice(1)を呼び出してGPUをリセットしてください。
とでますMiniBatchSizeを64や1にしてもエラーが解決できず困っています。
使っているGPUはGUNFORRCE 960です
CUDADevice のプロパティ:
Name: 'GeForce GTX 960'
Index: 1
ComputeCapability: '5.2'
SupportsDouble: 1
DriverVersion: 10.1000
ToolkitVersion: 10.1000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 2.1475e+09
AvailableMemory: 1.5060e+09
MultiprocessorCount: 8
ClockRateKHz: 1240500
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
Accepted Answer
More Answers (1)
Kouta Uchimoto
on 12 Oct 2019
0 votes
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!