Skip to content

MMDeploy on Jetson AGX Xavier #429

@habjoel

Description

@habjoel

Hey, sorry for asking so many questions but I'm really trying to get this work...
I am a bit confused about instructions on how to install mmdeploy on the Jetson. (https://mmdeploy.readthedocs.io/en/latest/tutorials/how_to_install_mmdeploy_on_jetsons.html)

At the step of installing mmdeploy itself, it states to refer to [https://mmdeploy.readthedocs.io/en/latest/build.html] but these are only the download instructions... so I assume I should rather follow [https://mmdeploy.readthedocs.io/en/latest/build/linux.html] for the installation.

I want to build mmdeploy with onnx and tensorrt to be able to export to those frameworks. Therefore, I'll need do the following steps:

cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS="ort;trt" -DONNXRUNTIME_DIR=${ONNXRUNTIME_DIR} -DTENSORRT_DIR=${TENSORRT_DIR} -DCUDNN_DIR=${CUDNN_DIR} ..
make -j$(nproc)

However, I am not sure how to set the environment variables TENSORRT_DIR and CUDNN_DIR as the Jetson has tensorrt and cudnn installed natively! how should I set these?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions