PaddlePaddle / PaddlePaddle/FastDeploy

jetson xavier nx运行example的yolov8报错

Open
#1,999 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description


温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度


环境

ENABLE_PADDLE_BACKEND & PADDLEINFERENCE_DIRECTORY为可选项

export ENABLE_PADDLE_BACKEND=ON
export PADDLEINFERENCE_DIRECTORY=/Download/paddle_inference_jetson

python setup.py build
python setup.py bdist_wheel

  • '
  • 【系统平台】: jetson xavier nx 上的ubuntu 18.04 LTS ,64bit
  • 【硬件】: Processor:ARMv8 Processor rev 0 (v8l) × 6
  • Graphics: NVIDIA Tegra Xavier (nvgpu)/integrated
  • Developer Kit:JetPack 4.6
  • CUDA 10.2.300
  • CUDNN: 8.2.1.32
  • TensorRT: 8.0.1.6
  • OpenCV version: 3.4.17-dev
    OpenCV Cuda: NO
  • 【编译语言】: Python 3.6

问题日志及出现问题的操作流程

  • 附上详细的问题日志有助于快速定位分析
  • 【模型跑不通】
    执行示例时报错,
    ‘WARNING:root:The installed fastdeploy-python package is not built with GPU, will force to use CPU. To use GPU, following the commands to install fastdeploy-gpu-python.
    WARNING:root: ================= Install GPU FastDeploy===============
    WARNING:root: python -m pip uninstall fastdeploy-python
    WARNING:root: python -m pip install fastdeploy-gpu-python -f https://www.paddlepaddle.org.cn/whl/fastdeploy.html
    [ERROR] fastdeploy/runtime/runtime_option.cc(216)::UseTrtBackend The FastDeploy didn't compile with TrtBackend.’
    让我删除由源码编译安装的fastdeploy-python;删除后运行无论cpu、gpu和gpu use_trt都报错,显示
    AttributeError: module 'fastdeploy' has no attribute 'RuntimeOption'
    如果不删除,运行cpu时报错
    AttributeError: module 'fastdeploy.c_lib_wrap' has no attribute 'vision'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the YOLOv8 example on the listed Jetson Xavier NX environment using the provided FastDeploy installation commands. Start by checking which fastdeploy package is imported and whether its RuntimeOption, vision, and TensorRT support are available. Done means the example runs consistently for the intended CPU, GPU, or TensorRT configuration, or the incompatibility is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
opencv, python
Domain
embedded-iot, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.