Code Monkey home page Code Monkey logo

Comments (13)

XiangjiBU avatar XiangjiBU commented on May 10, 2024 2

this may be a permission problem, use "sudo deepstream-app -c <config......>"

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on May 10, 2024

Can you send me your config_infer.txt and yolo.cfg?

from deepstream-yolo.

beybars1 avatar beybars1 commented on May 10, 2024

Can you send me your config_infer.txt and yolo.cfg?

Files are attached below. Note that I intentionally make .cfg file to be .txt extension, GitHub doesn't support .cfg files.

yolov4.cfg.txt
config_infer_primary.txt

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on May 10, 2024

Are you using my nvdsinfer_custom_impl_Yolo folder? Did you edit anything from code?

from deepstream-yolo.

beybars1 avatar beybars1 commented on May 10, 2024

Are you using my nvdsinfer_custom_impl_Yolo folder? Did you edit anything from code?

yes, I use your folder. Nothing was introduced to the code.

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on May 10, 2024

Are you using my nvdsinfer_custom_impl_Yolo folder? Did you edit anything from code?

yes, I use your folder. Nothing was introduced to the code.

Strange, because I tested recently in my Jetson Nano and yesterday on dGPU without this error. Can you clone repo and recompile all again?

from deepstream-yolo.

beybars1 avatar beybars1 commented on May 10, 2024

Are you using my nvdsinfer_custom_impl_Yolo folder? Did you edit anything from code?

yes, I use your folder. Nothing was introduced to the code.

Strange, because I tested recently in my Jetson Nano and yesterday on dGPU without this error. Can you clone repo and recompile all again?

ok, I will try.

from deepstream-yolo.

beybars1 avatar beybars1 commented on May 10, 2024

Do I need to do anything in the nvdsinfer_impl_Yolo folder? Edit something? By the way, I did everything again, the result is same.

from deepstream-yolo.

beybars1 avatar beybars1 commented on May 10, 2024

this may be a permission problem, use "sudo deepstream-app -c <config......>"

Thanks sir! It works now! We can close this issue.

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on May 10, 2024

this may be a permission problem, use "sudo deepstream-app -c <config......>"

I will update repo with this info.

from deepstream-yolo.

ctslick avatar ctslick commented on May 10, 2024

I've encountered the same problem, but running using "sudo deepstream-app -c <config_file>" is not the solution for me (I'm able to run other sample Deepstream configuration files using sudo though).

I'm using a custom YoloV5 model, which detects 3 classes (it was provided to me by a coworker, but runs fine using the Ultralytics detect.py function in their repository).
I have only the 3 classes listed in "labels_yolov5.txt".

Attached is my config_infer_primary__yolov5.txt file.

Note that I created the .cfg & .weights files (pointed to in config_infer_primary__yolov5.txt) from .pt & .yaml files using code from this repository:
https://github.com/adrianosantospb/yolov5_ultralytics_to_darnet_format

As above, I have not edited anything in your "nvdsinfer_custom_impl_Yolo"
config_infer_primary__yolov5.txt
folder.

Any assistance would be greatly appreciated.

from deepstream-yolo.

marcoslucianops avatar marcoslucianops commented on May 10, 2024

Any assistance would be greatly appreciated.

https://github.com/marcoslucianops/DeepStream-Yolo/blob/master/docs/YOLOv5.md

from deepstream-yolo.

ctslick avatar ctslick commented on May 10, 2024

It's now working after using your conversion utility. Thank you.

from deepstream-yolo.

Related Issues (20)

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.