Updates the Vitis AI examples to use 2.5 models (and 2.5 xclbins)
Fix segmentation fault bug
Closes #54
Closes #31
Motivation
The previous examples used VAI 1.4 which required users to also have compatible xclbins. Using 2.5 models allows the server to use the latest models.
Implementation
The models to download are updated and the golden values for tests/examples are updated as well.
The segmentation fault bug in the the proteus script was due to the check on whether the proteus package could be imported: it would attempt to import the package and if the import failed, it would rerun the CMake build. However, when the package was imported, the subsequent uninstall and reinstallation of the bindings during the CMake build resulted in a segmentation fault. Now, the package's importability is checked without actually importing it.
Summary of Changes
Closes #54 Closes #31
Motivation
The previous examples used VAI 1.4 which required users to also have compatible xclbins. Using 2.5 models allows the server to use the latest models.
Implementation
The models to download are updated and the golden values for tests/examples are updated as well.
The segmentation fault bug in the the
proteus
script was due to the check on whether theproteus
package could be imported: it would attempt to import the package and if the import failed, it would rerun the CMake build. However, when the package was imported, the subsequent uninstall and reinstallation of the bindings during the CMake build resulted in a segmentation fault. Now, the package's importability is checked without actually importing it.