Starting from DetectorPack 3.9, a utility was added to the Neuro Pack add-ons (see Installing DetectorPack addons), which allows you to create GPU network caches without using Axxon Next.
To create GPU network caches using the utility, do the following:
To call the utility, open in the command line: C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe and press Enter.
Creation of GPU network caches using the utility is complete. The utility will create the caches of four networks included in the Neuro Pack add-ons:
All created GPU network caches are stored in the folder specified in the GPU_CACHE_DIR system variable.
Creating GPU network caches using parameters:
-p is a parameter to create a cache for a particular network.
Command example:
C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe -p "<System disk>\<Network location directory>\Network_name.ann" |
To create a cache for multiple networks, list the paths to the selected networks, separated by a space.
Command example:
C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe -p "<System disk>\<Network location directory>\Network_name.ann" "C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroSDK\WaterLevelRuleNet_origin_onnx.ann" |
-v is a parameter to output the procedure log to the console during cache generation.
Command example to automatically create caches of four networks included in the Neuro Pack add-ons with log output:
C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe -v |
Command example:
C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe -p "<System disk>\<Network location directory>\Network_name.ann" -v |
--int8=1 is a parameter to create a quantized version of the cache for those networks for which quantization is available. By default, the --int8=0 parameter is disabled.
Command example:
C:\Program Files\Common Files\AxxonSoft\DetectorPack\NeuroPackGpuCacheGenerator.exe --int8=1 |
The networks for which the quantization mode is available are included in the Neuro Pack add-ons together with the *.info file. |
The networks for which the quantization mode is available: