EDeepLearningExecutionSettings::GetBatchSize

EDeepLearningExecutionSettings::SetBatchSize

Batch size. The batch size is the number of images that are processed together during training and batch inference.

When using multi-GPUs processing, the batch size is the number of images that each GPU will process at once.

A large batch size will increase the processing speed on GPU but also the memory requirements.

The batch size must be bigger or equal to 1 and it is commonly chosen to be a power of 2.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

int GetBatchSize() const

void SetBatchSize(int batchSize)

Remarks

If EDeepLearningExecutionSettings::OptimizeBatchSize is 'true', then the value of this property will not be taken into account because it will be optimized automatically for training or inference according to the situation.

EDeepLearningExecutionSettings.BatchSize

Batch size. The batch size is the number of images that are processed together during training and batch inference.

When using multi-GPUs processing, the batch size is the number of images that each GPU will process at once.

A large batch size will increase the processing speed on GPU but also the memory requirements.

The batch size must be bigger or equal to 1 and it is commonly chosen to be a power of 2.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

int BatchSize

{ get; set; }

Remarks

If EDeepLearningExecutionSettings.OptimizeBatchSize is 'true', then the value of this property will not be taken into account because it will be optimized automatically for training or inference according to the situation.

EDeepLearningExecutionSettings.BatchSize

Batch size. The batch size is the number of images that are processed together during training and batch inference.

When using multi-GPUs processing, the batch size is the number of images that each GPU will process at once.

A large batch size will increase the processing speed on GPU but also the memory requirements.

The batch size must be bigger or equal to 1 and it is commonly chosen to be a power of 2.

Module: open_evision.EasyDeepLearning

[Python]

BatchSize: int

{get; set}

Remarks

If EDeepLearningExecutionSettings.OptimizeBatchSize is 'true', then the value of this property will not be taken into account because it will be optimized automatically for training or inference according to the situation.