question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

why my application of mmdeploy is wrong?

See original GitHub issue

Checklist

  • I have searched related issues but cannot get the expected help.
  • 2. I have read the FAQ documentation but cannot get the expected help.
  • 3. The bug has not been fixed in the latest version.

Describe the bug

https://github.com/open-mmlab/mmdeploy/blob/master/docs/zh_cn/01-how-to-build/build_from_script.md

I install the mmdeploy in the ubuntu-20.04, and by the way of above one, however, the result shows that the ncnn’s ops_is_available is false.

what’s more, in the progress of my install, there are some red lines in the dos window: ----------build and install mmdeploy---------- fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). – CMAKE_INSTALL_PREFIX: /home/jdskddd/mmdeploy/build/install – Build ncnn custom ops – ncnn library found! **CMake Error at csrc/mmdeploy/backend_ops/ncnn/pyncnn_ext/CMakeLists.txt:7 (add_subdirectory): The source directory

/home/jdskddd/mmdeploy/third_party/pybind11

does not contain a CMakeLists.txt file.

CMake Error at csrc/mmdeploy/backend_ops/ncnn/pyncnn_ext/CMakeLists.txt:10 (pybind11_add_module): Unknown CMake command “pybind11_add_module”.**

– Configuring incomplete, errors occurred!

Reproduction

$ cd mmdeploy $ python3 tools/scripts/build_ubuntu_x64_ncnn.py $(nproc)

Environment

2022-09-27 15:51:01,689 - mmdeploy - INFO - 

2022-09-27 15:51:01,689 - mmdeploy - INFO - **********Environmental information**********
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
2022-09-27 15:51:01,897 - mmdeploy - INFO - sys.platform: linux
2022-09-27 15:51:01,898 - mmdeploy - INFO - Python: 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]
2022-09-27 15:51:01,898 - mmdeploy - INFO - CUDA available: True
2022-09-27 15:51:01,898 - mmdeploy - INFO - GPU 0: GeForce RTX 2060
2022-09-27 15:51:01,898 - mmdeploy - INFO - CUDA_HOME: /usr/local/cuda-10.2
2022-09-27 15:51:01,898 - mmdeploy - INFO - NVCC: Cuda compilation tools, release 10.2, V10.2.8
2022-09-27 15:51:01,898 - mmdeploy - INFO - GCC: gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
2022-09-27 15:51:01,898 - mmdeploy - INFO - PyTorch: 1.10.1
2022-09-27 15:51:01,898 - mmdeploy - INFO - PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.2.3 (Git Hash 7336ca9f055cf1bfa13efb658fe15dc9b41f0740)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.3
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
  - CuDNN 8.2
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.10.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, 

2022-09-27 15:51:01,898 - mmdeploy - INFO - TorchVision: 0.11.2
2022-09-27 15:51:01,898 - mmdeploy - INFO - OpenCV: 4.6.0
2022-09-27 15:51:01,898 - mmdeploy - INFO - MMCV: 1.6.1
2022-09-27 15:51:01,898 - mmdeploy - INFO - MMCV Compiler: GCC 9.3
2022-09-27 15:51:01,898 - mmdeploy - INFO - MMCV CUDA Compiler: 11.3
2022-09-27 15:51:01,898 - mmdeploy - INFO - MMDeploy: 0.8.0+
2022-09-27 15:51:01,898 - mmdeploy - INFO - 

2022-09-27 15:51:01,898 - mmdeploy - INFO - **********Backend information**********
2022-09-27 15:51:02,334 - mmdeploy - INFO - onnxruntime: None	ops_is_avaliable : False
2022-09-27 15:51:02,335 - mmdeploy - INFO - tensorrt: None	ops_is_avaliable : False
2022-09-27 15:51:02,349 - mmdeploy - INFO - ncnn: 1.0.20220927	ops_is_avaliable : False
2022-09-27 15:51:02,349 - mmdeploy - INFO - pplnn_is_avaliable: False
2022-09-27 15:51:02,350 - mmdeploy - INFO - openvino_is_avaliable: False
2022-09-27 15:51:02,364 - mmdeploy - INFO - snpe_is_available: False
2022-09-27 15:51:02,365 - mmdeploy - INFO - ascend_is_available: False
2022-09-27 15:51:02,365 - mmdeploy - INFO - coreml_is_available: False
2022-09-27 15:51:02,365 - mmdeploy - INFO - 

2022-09-27 15:51:02,365 - mmdeploy - INFO - **********Codebase information**********
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmdet:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmseg:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmcls:	0.23.2
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmocr:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmedit:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmdet3d:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmpose:	None
2022-09-27 15:51:02,374 - mmdeploy - INFO - mmrotate:	None

Error traceback

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
tpoisonooocommented, Oct 10, 2022

Then use mmdeploy dev-1.x branch https://github.com/open-mmlab/mmdeploy/tree/dev-1.x

0reactions
tpoisonooocommented, Oct 27, 2022

If you have more question, please open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · open-mmlab/mmdeploy - GitHub
BUILD Mmdeploy FOR LINUX-X86_64, in SDK and Demo build cuda + TensorRT as inference engine,but run "make -j$(nproc)" ,it have a mistake.
Read more >
Tutorial 8: Pytorch to ONNX (Experimental)
Try the new MMDeploy to deploy your model. Tutorial 8: Pytorch to ... By default, it will be set to None , meaning...
Read more >
Application error - Microsoft Q&A
I want to deploy my dash app in Azure. I tried with the single application.py file and it's working well but when I...
Read more >
MMDeploy — Rust library // Lib.rs
Safe MMDeploy Rust wrapper | Rust/Cargo package. ... Good news: Now, you can use Rust language to build your fantastic applications powered by...
Read more >
Neural network model deployment | by Timothy Shan - Medium
To do inference using onnx, use the script below ... Convert models such as SSD , RetinaNet to onnx via mmdeploy then convert...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found