mmdeploy/tools
Johannes L 651eec239b
MMdeploy build & install script + prerequisites (#399)
* Initial commit of build script

* Fixed lint

* * Set prefix depending on install arch
* Auto detect installed version of cmake, gcc. Update if necessary
* Prompt to reinstall venv if exists
* Disable .tar packing
* Enable MMDEPLOY SDK Python
* Misc cleanup

* Fixed lint

* Renamed script

* * Set env variables without restarting script.
* OpenCV install optional.
* Fix numpy OPENBLAS_CORETYPE on numpy >1.19.4.
* Remove specific build files.
* Fix prebuild output .tar.gz.
* Comments added. exec bash when closing script

* * Use root dir as MMDeploy dir.
* Use pip3.
* Remove explicit MMDeploy checkout version.
* Use MMDEPLOY_DIR for examples path

* Make PyTorch, torchvision, mmcv install optional

* * Do not deactivate python venv.
* Make prebuild archive optional.
* Add venv* to gitignore

* * Add support for unattended, interactive install. * Cleanup  misc. comments.

* Check input arguments before continuing.

* Added additional log messages, comments added

* Added default option when pressing [ENTER]

* * Rearranged cmake, gcc build/install order.
* Mention default option when reinstalling venv
* sudo make install instead of cmake --install

* Moved script to tools/scripts

* Fixed relative path when generating WORKING_DIR
2022-05-25 17:13:24 +08:00
..
package_tools [Refactor][tools] Add prebuild tools. (#347) 2022-05-23 17:15:09 +08:00
scripts MMdeploy build & install script + prerequisites (#399) 2022-05-25 17:13:24 +08:00
check_env.py Dev v0.4.0 (#301) 2022-04-01 18:14:23 +08:00
deploy.py Dev v0.4.0 (#301) 2022-04-01 18:14:23 +08:00
extract.py [Enhancement] use mmcv.utils.get_logger (#24) 2022-01-10 15:46:42 +08:00
onnx2ncnn.py Add a new pre-commit-hook to automatically add a copyright (#166) 2022-02-23 11:38:40 +08:00
onnx2pplnn.py [Enhancement] use mmcv.utils.get_logger (#24) 2022-01-10 15:46:42 +08:00
onnx2tensorrt.py [Enhancement] use mmcv.utils.get_logger (#24) 2022-01-10 15:46:42 +08:00
regression_test.py [Feature] Regression test for mmdeploy (#302) 2022-04-28 08:03:59 +08:00
test.py [Enhacement] Allow test.py to save evaluation results (#108) 2022-01-26 19:57:00 +08:00
torch2onnx.py [Enhancement] use mmcv.utils.get_logger (#24) 2022-01-10 15:46:42 +08:00