Functions | |
| eErrorType | SR_LoadClsTestNetworkInGPU (ClsTestHandle handle, int GPUNumber, int batchSize=1) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadDetTestNetworkInGPU (DetTestHandle handle, int GPUNumber) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadOCRTestNetworkInGPU (OCRTestHandle handle, int GPUNumber) |
| Allocate required cpu & gpu memory. More... | |
| eErrorType | SR_LoadSegTestNetworkInGPU (SegTestHandle handle, int GPUNumber, int batchSize=1) |
| Allocate required cpu & gpu memory. More... | |
Allocate cpu and gpu memory required for inspections.
If the amount of required memory exceeds availabel memory, returns eErrorType::OUT_OF_GPU_MEMORY.
| eErrorType SR_LoadClsTestNetworkInGPU | ( | ClsTestHandle | handle, |
| int | GPUNumber, | ||
| int | batchSize = 1 |
||
| ) |
Allocate required cpu & gpu memory.
For Batch inspection mode, batchSize should be set larger than 1 to get reasonable performance.
| handle | classification file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| batchSize | maximum number of images to inspect in once |
| eErrorType SR_LoadDetTestNetworkInGPU | ( | DetTestHandle | handle, |
| int | GPUNumber | ||
| ) |
Allocate required cpu & gpu memory.
| handle | detection file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| eErrorType SR_LoadOCRTestNetworkInGPU | ( | OCRTestHandle | handle, |
| int | GPUNumber | ||
| ) |
Allocate required cpu & gpu memory.
| handle | OCR file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| eErrorType SR_LoadSegTestNetworkInGPU | ( | SegTestHandle | handle, |
| int | GPUNumber, | ||
| int | batchSize = 1 |
||
| ) |
Allocate required cpu & gpu memory.
For Batch inspection mode, batchSize should be set larger than 1 to get reasonable performance.
| handle | segmentation file handler |
| GPUNumber | gpu index to use for inspection (ex, 0, 1, ...) |
| batchSize | maximum number of images to inspect in once |