Go to documentation repository
Page History
Cache affects the initialization speed-up and optimizes video memory consumption.
To optimize Face detection operation on GPU, do the following:
wpływa na czas inicjalizacji narzędzia detekcji i optymalizuje zużycie pamięci GPU.
Aby zoptymalizować pracę detekcji twarzy na GPU, wykonaj następujące czynności:
Zatrzymaj Serwer (zobacz: Zamykanie SerweraShut down the Server (see Shutting down a Server).
Note title AttentionUwaga! If the system uses the software running on GPU, it is necessary to stop its operation.
Jeśli system korzysta z oprogramowania pracującego z wykorzystaniem GPU, niezbędne jest zatrzymanie oprogramowania.
Utwórz zmienną systemową Create the GPU_CACHE_DIR system variable (see Appendix 10. Creating system variable). Specify in the Variable value field the path to the cache location with an arbitrary folder name. For example, (zobacz: Załącznik 10. Tworzenie zmiennych systemowych). W polu Wartość zmiennej określ ścieżkę do cache z dowolną nazwą folderu, np. "D:\AN_GPU_cache".
Info title Note The cache of all detection tools and neural networks will be stored in the specified directory.
Run the command line as administrator.
Cache dla wszystkich narzędzi detekcji i sieci neuronowych będzie przechowywane w folderze określonym w tej zmiennej.
Uruchom wiersz poleceń jako administrator.
Otwórz plik "Open the C:\Program Files\Common Files\AxxonSoft\DetectorPack\TvaFaceGpuCacheGenerator.exe file " (1) in the command linew wierszu poleceń.
Note title Attention! TvaFaceGpuCacheGenerator.exe requires at least wymaga co najmniej 1.4 GB of free video memory to run on wolnej pamięci GPU.
Specify the ID of the required Określ ID wymaganego GPU (2, see General Information on Configuring Detection).
zobacz: Ogólne informacje o konfigurowaniu detekcji).Jeśli chcesz zmienić rozdzielczość strumienia wideo dla detekcji twarzy, wpisz y (3) i określ wymaganą rozdzielczość If you want to change the resolution of the video stream for Face detection, you should enter y (3) and specify the required resolution (4).
Info title NoteInformacja GPU uses the default video stream resolutions. Changing the resolution of the video stream will increase the percentage of face detection when using the resolutions from 1920*1080 and higher.
Press Enter. The cache creation process will start. It will take about 20 minutes. The cache creation was successful, if the result value is “0”.
korzysta z domyślnej rozdzielczości strumienia wideo. Zmiana rozdzielczości wideo zwiększy procent detekcji twarzy podczas korzystania z rozdzielczości 1920*1080 lub wyższych.
Naciśnij Enter. Zostanie uruchomiony proces tworzenia cache - zajmie on ok. 20 minut. Po pomyślnym utworzeniu cache, wyświetli się wartość zwrotna "0".
Optymalizacja detekcji twarzy na GPU jest zakończonaOptimization of Face detection on GPU is complete.
| Note | ||
|---|---|---|
| ||
When you update the add-on Gdy zaktualizujesz Face Recognition Pack (see Installing DetectorPack addons) or change the NVIDIA GPU model, you need to recreate the Add-on (zobacz: Instalacja pakietów DetectorPack Axxon One) lub zmienisz model NVIDIA GPU, niezbędne jest ponowne utworzenie cache. |
