How to increase MiniBatchSize

2 visualizaciones (últimos 30 días)
abdullah al-dulaimi
abdullah al-dulaimi el 31 de Jul. de 2022
Respondida: Joss Knight el 11 de Ag. de 2022
Name: 'NVIDIA GeForce RTX 2060'
Index: 1
ComputeCapability: '7.5'
SupportsDouble: 1
DriverVersion: 11.7000
ToolkitVersion: 11.2000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 6.4421e+09
AvailableMemory: 5.0929e+09
MultiprocessorCount: 30
ClockRateKHz: 1200000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceAvailable: 1
DeviceSelected: 1
** This is my GPU , so how can i increase MiniBatchSize more than 2 , with out error

Respuestas (1)

Joss Knight
Joss Knight el 11 de Ag. de 2022
It depends on what you're doing. Some ideas:
  • Get a new GPU with more memory
  • Use a smaller model
  • If your model accepts a variable input size, use a smaller input
  • For object detectors, reduce the number of patches per image
  • Run on the CPU

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by