GithubHelp home page GithubHelp logo

cong / yolov5_deepsort_tensorrt Goto Github PK

View Code? Open in Web Editor NEW
169.0 3.0 35.0 83.97 MB

This repo uses YOLOv5 and DeepSORT to implement object tracking algorithm. Also using TensorRTX to transform model to engine, and deploying all code on the NVIDIA Xavier with TensorRT further.

License: MIT License

Python 100.00%
yolov5 deepsort tensorrtx pytorch nvidia-xavier

yolov5_deepsort_tensorrt's Issues

Deep SORT error!

err
Hello guys, I am facing this error please help me solve it, it seems that this error is caused by deep sort because the yolov5 engine doesn't give any errors and I can detect with yolov5.engine but the tracker give this error.

Those are the versions of the packages installed on my ubuntu 18 device:
vers

deepsort.engine convert problem

不好意思,我在按照作者的指示轉換deepsort的時候發現他沒法直接轉換,一直回報modulenotfounderror: no module named 'fastreid'
請問有人遇到相同的問題嗎

[TensorRT] ERROR: coreReadArchive.cpp (38) - Serialization Error in verifyHeader: 0 (Version tag does not match) [TensorRT] ERROR: INVALID_STATE: std::exception [TensorRT] ERROR: INVALID_CONFIG: Deserialize the cuda engine failed. Traceback (most recent call last): File "demo_trt.py", line 15, in <module> import tracker_trt AttributeError: 'NoneType' object has no attribute 'create_execution_context' ------------------------------------------------------------------- PyCUDA ERROR: The context stack was not empty upon module cleanup. ------------------------------------------------------------------- A context was still active when the context stack was being cleaned up. At this point in our execution, CUDA may already have been deinitialized, so there is no way we can finish cleanly. The program will be aborted now. Use Context.pop() to avoid this problem. ---------------------------------------------------

Im trying build the application in jetson TX2
Tried Jetpack - 4.4.1 and 4.4
Tensorrt- 7.3.1.0
torch- 1.8
torchvision- 0.9.0

Used v4.0 of yolov5 and tensorrtx git
and generated TRT engine
But still getting this error which says there is mismatch in Tenssorrt version

I don't understand, I have met all the environment requirements you have mentioned but still getting this error

Can you please help on this?

请问有人用pyinstaller 生成可执行程序吗?遇到pycuda问题

[TensorRT] ERROR: /home/jenkins/workspace/TensorRT/helpers/rel-7.1/L1_Nightly_Internal/build/source/rtSafe/resources.h (460) - Cuda Error in loadKernel: 3 (initialization error)
[TensorRT] ERROR: INVALID_STATE: std::exception
[TensorRT] ERROR: INVALID_CONFIG: Deserialize the cuda engine failed.
Traceback (most recent call last):
File "demo_trt.py", line 60, in
File "demo_trt.py", line 20, in detect
File "detector_trt.py", line 86, in init
AttributeError: 'NoneType' object has no attribute 'create_execution_context'
[16873] Failed to execute script 'demo_trt' due to unhandled exception!

PyCUDA ERROR: The context stack was not empty upon module cleanup.

A context was still active when the context stack was being
cleaned up. At this point in our execution, CUDA may already
have been deinitialized, so there is no way we can finish
cleanly. The program will be aborted now.
Use Context.pop() to avoid this problem.

已放弃 (核心已转储)

deepsort加速问题

作者你好,您的代码部署到nx上了,但速度大概就是2~3FPS,请问您deepsort部分有加速吗?

cannot open shared object file: No such file or directory

Traceback (most recent call last):
File "demo_trt.py", line 58, in
ctypes.CDLL(PLUGIN_LIBRARY)
File "/usr/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: weights/libmyplugins.so: cannot open shared object file: No such file or directory

pycuda._driver.LogicError: cuDeviceGet failed: initialization error

when i run demo_trt.py i got this error
detector = Detector(engine_file_path)
File "/home/radar/Desktop/yolotrt/yolov5_deepsort_tensorrt/detector_trt.py", line 43, in init
self.cfx = cuda.Device(0).make_context()
pycuda._driver.LogicError: cuDeviceGet failed: initialization error

libmyplugins.so在哪?

作者,您好,我就是单纯测试一下效果,libmyplugins.so这个文件从哪里找?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.