Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents


Column

...


Install the utility

The GPU Cache Generatorcache generator utility is used to pre-create a cache of neural networks that are used in the operation of detectors.

...

  1. Download the utility file from the AxxonSoft official website.
  2. Run the downloaded file as system administrator.
  3. In the setup window that opens, click the Next button.

  4. Click the Install button.

  5. Confirm installation as administrator.
  6. Wait for the installation process to complete.
    Image Removed
    After installation, a new window opens with a message about the completion of the utility installation.
  7. Click the Finish button to confirm completion of the installation.
    InfotitleNote
  8.  
    Image Added
  9. By default, the utility window opens after installation is complete. If you don’t want to launch the utility after installation is complete, clear the Launch the GPU cache generator checkbox.
  10. If you want to view the documentation for the GPU cache generator utility, set the Open the user's guide checkbox.
  11. Image Removed

The utility installation is complete.

Utility interface

...

  1. By default, the checkbox is clear.
  2. Click the Finish button to confirm completion of the installation.

The installation of the GPU cache generator utility is complete.

Cache generation

To generate a cache:

  1. Stop the server (see Stop the server).
  2. Run the GPU cache generator utility from the Start menu → ProgramsGPU cache generator. When you launch the utility, a window opens

...

  1. with the following warning: Attention. Please stop VMS server and other services that use GPU resources. This is

...

  1. critical to ensuring maximum efficiency of the cache generation process. If you don’t stop the

...

  1. server and

...

  1. services, the utility can continue to work, but

...

  1. the caching result can be less effective, and the process is slower due to competition for GPU resources.

Image Removed

...

  1. To confirm stopping all applications using the GPU, click the Yes, I have closed all applications that use GPU button.

...

  1. Set the Image Added checkboxes next to the detectors/neural models for which you want to create a cache. The utility window is divided into two areas:

    ...

      • Detectors—list of available detectors.

    ...

      • Neural modelslist of neural networks for which you can generate a cache.

    Image Removed

    ...


      • Elements in these areas are interconnected: when you select a

    ...

      • detector on the left, all neural networks associated with

    ...

      • it are

    ...

      • displayed on the right

    ...

      • , and vice versa.
        The table

    ...

      • lists the

    ...

      • detectors and neural networks associated with them:
        DetectorNeural models

        Barcode

    ...

    ...

        • Ppe helmet (head) general
        • Ppe safety vest (body) general
        • Ppe segmentation by pose origin

        Fire detector

        • Best fire v1 (Normal mode)
        • Fire scanned v1 (Scanning mode)

        Meta-detector

        • Blip img only
        • Blip text only

    ...

      • Neural counter or Stopped object detector

        • GeneralNM car v1.0
        • GeneralNM human v1.0
        • GeneralNM human and vehicle large v1.0
        • GeneralNM human and vehicle medium v1.0
        • GeneralNM human and vehicle nano v1.0
        • GeneralNM human top view large v1.0
        • GeneralNM human top view medium v1.0
        • GeneralNM human top view nano v1.0
        • GeneralNM human top view v0.8

    ...

      • Neural tracker

        • GeneralNM car v1.0
        • GeneralNM human v1.0
        • GeneralNM human and vehicle large v1.0
        • GeneralNM human and vehicle medium v1.0
        • GeneralNM human and vehicle nano v1.0
        • GeneralNM human top view large v1.0
        • GeneralNM human top view medium v1.0
        • GeneralNM human top view nano v1.0
        • GeneralNM human top view v0.8
        • Dpe 1638 light pa 100 k (

    ...

        • Attributes recognition)
        • Reid 15 0 256 osnetfpn segmentation noise 20 common 29 (Similitude search)

    ...

    ...

    ...

    ...

      • When you

    ...

      • use a

    ...

      • custom neural network, you must specify the path to the file in *.ann or *.annext format, provided that

    ...

      • this neural network can be run on

    ...

      • the GPU

    ...


      • Note
        titleAttention!
        • A trained neural network for a particular scene allows you to detect only objects of a certain type (for example, a person, a cyclist, a motorcyclist, and so on). To train your neural network, contact AxxonSoft (see Data collection requirements for neural network training).
        • If you use a standard neural network (training wasn't performed in operating conditions), we guarantee an overall accuracy of 80-95% and a percentage of false positives of 5-20% (see Data collection requirements for neural network training).
        • You cannot specify the network file in Windows OS. You must place the neural network file locally, that is, on the same server where you install Axxon One.
        • For correct neural network operation on Linux OS, place the corresponding file locally in the /opt/AxxonSoft/DetectorPack/NeuroSDK directory or in the network folder with the corresponding access permissions.
        • When you run the GPU cache generator utility again, the file of the custom neural network isn't displayed in the Neural models list.


    1. Click the Image Added

    Generating a cache

    To generate a cache:

    1. In the right part of the main window of the utility, set the checkboxes next to the neural networks for which you want to create a cache.

    2. Click the Image Removed
    3. button in the lower right part of the window
    4. to go to
    5. .
    6. Configure the cache generation
    7. settings.In the window that opens, set the checkbox next to the video card for which the cache is created.
    8. parameters specified in the table.
      ParameterValueDescription
      Graphics processors for performing operations
      NVIDIA <model> (see List of Nvidia GPUs)

      Image Added

      Note
      titleAttention!

      Cache generation is only supported for NVIDIA graphics cards, as TensorRT technology

    9. doesn’t
    10. doesn't support other graphics cards.

    11. Configure the parameters of cache generation specified in the table:
      ParameterValueDescription
    12. Set the checkbox next to the video card for which the cache is created

      Image Added

      Additional parameters
      Enable int8 calibration
    13. Image Removed
    14. Image Added

      Note
      titleAttention!
      • This parameter is available only for neural networks
    15. with a corresponding *.info file.
      • for which the quantization mode is available and which are included in the neural analytics package along with the *.info file of the same name:
        • GeneralNM car v1.0,
        • GeneralNM human v1.0,
        • GeneralNM human and vehicle large v1.0,
        • GeneralNM human and vehicle medium v1.0,
        • GeneralNM human and vehicle nano v1.0,
        • GeneralNM human top view large v1.0,
        • GeneralNM human top view medium v1.0,
        • GeneralNM human top view nano v1.0,
        • GeneralNM human top view v0.8.
      • If you select neural networks for which the quantization mode isn't available in the previous window, then a cache will not be generated for them. 
    16. By default, the checkbox is clear. To enable the Int8 quantization mode for a neural network, set the checkbox

    17. . Neural networks for which the quantization mode is available are included in the neural analytics package along with the *.info file of the same name
    18. Image Added

    19. Image Removed
    20. Enable verbose logging mode
    21. Image Removed
    22. Image Added

      By default, the checkbox is clear. To enable logging of the process of initialization and cache generation, set the checkbox

    23. .

    24. Info
      titleNote
      • Enabling the parameter provides detailed information about the cache generation process but increases the volume of logs and can slow down the generation process

    25. InfotitleNote
      • .
      • Logs for each neural network are saved in a separate file in the directory C:\Users\<username>\.gpuCacheGenerator\logs.
      • Previous logs are automatically deleted each time you run the utility.
    26. Image Removed
    27. Image Added

      The cache will be saved
    28. AXXONGPU

      Specify the directory of cache storage

      Info
      titleNote

    29. Select a directory to store the cache for all used detectors and neural networks. The approximate cache size depends on the number and type of neural networks used. The minimum size is 70 MB.

      • If you don’t specify the GPU_CACHE_DIR system variable, by default, the cache is saved in the directory: C:\Users\<user_name>\.gpuCacheGenerator\ (see Appendix 9. Creating system variable).
      • If you specify the GPU_CACHE_DIR system variable, the cache is saved at the path specified in it.
      • When you select a cache directory via the utility, the value of the GPU_CACHE_DIR system variable is updated to the selected path
    30. .


    31. Click the
    32. Image Removed
    33. Image Added button in the lower right part of the window to proceed to generating a cache for all selected neural networks.

    34. Info
      titleNote
    35.  If you select several neural networks, they are processed one after another.
      The current progress status is displayed for each neural network.
    36. Wait for
    37. Possible statuses:
      • Ready (the line is outlined in green).
      • In progress.
      • In queue.
      • Error (the line is outlined in red).
    38. When the generation process
    39. to complete. If the cache is successfully generated, the
    40. is complete, click the Image Added button in the lower right part of the window.

    Cache generation is complete. The created files are available for use by detectors.

    Cache generation is complete.

    Note
    titleAttention!
    • When
    regenerating the
    • you generate a cache for a specific neural network again, the system
    tries
    • attempts to use the existing cache.
    • If the cache is missing or corrupted, a new file is created.
    • You must recreate the cache in the following cases:

    Repair the utility

    You must repair the utility when its operation is disrupted due to changes in its working files or environment. To repair the utility:

    1. Open the .msi file of the utility.
    2. In the window that opens, click the Next button.
      Image Added
    3. Click the Repair button.
      Image Added
    4. In the window that opens, confirm the repair by clicking the Repair button.
      Image Added
    5. Wait for the utility to complete the repair process. When the repair is complete, a new window opens informing you that the utility is repaired.
      Image Added
    6. Click the Finish button.

    The repair process is complete.

    Remove utility

    To remove the utility:

    1. Open the .msi file of the utility.
    2. In the window that opens, click the Next button.
      Image Added
    3. Click the Remove button.
      Image Added
    4. In the window that opens, confirm the removal by clicking the Remove button.
      Image Added
    5. Wait for the utility to complete the removal process. When the process is complete, a new window opens informing you that the utility is removed.
      Image Added
    6. Click the Finish button.

    The removal process is complete.

    Info
    titleNote

    You can also remove the utility from the Start menu or using third-party software.