luyi 75ecb14c94 | 1 year ago | |
---|---|---|
.. | ||
CMakeLists.txt | 1 year ago | |
README.md | 1 year ago | |
main.cpp | 1 year ago | |
nanodet_libtorch.cpp | 1 year ago | |
nanodet_libtorch.h | 1 year ago |
This folder provides NanoDet inference code using for LibTorch.
This project needs OpenCV and CMake to work.
Install CMake using a package manager of your choice. For example, the following command will install CMake on Ubuntu:
sudo apt install cmake libopencv-dev
Also, you'll need to download LibTorch. Refer to this page for more info.
Export TorchScript model using tools/export_torchscript.py
:
python ./tools/export_torchscript.py --cfg_path ${CONFIG_PATH} --model_path ${PYTORCH_MODEL_PATH} --input_shape ${MO}
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=/absolute/path/to/libtorch ..
make
No Description
Python C++ Java Jupyter Notebook Gradle other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》