Code Monkey home page Code Monkey logo

yolov5_ros's People

Contributors

qq44642754a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yolov5_ros's Issues

how to do it

File "/home/li/Yolov5_ros-7.0_ws/src/Yolov5_ros-7.0/yolov5_ros/yolov5_ros/scripts/yolo_v5.py", line 140, in
main()
File "/home/li/Yolov5_ros-7.0_ws/src/Yolov5_ros-7.0/yolov5_ros/yolov5_ros/scripts/yolo_v5.py", line 134, in main
yolo_dect = Yolo_Dect()
File "/home/li/Yolov5_ros-7.0_ws/src/Yolov5_ros-7.0/yolov5_ros/yolov5_ros/scripts/yolo_v5.py", line 30, in init
self.model = torch.hub.load(yolov5_path, 'custom', path=weight_path, source='local')
File "/home/li/anaconda3/envs/mytorch/lib/python3.7/site-packages/torch/hub.py", line 358, in load
repo_dir = _get_cache_or_reload(github, force_reload, verbose)
File "/home/li/anaconda3/envs/mytorch/lib/python3.7/site-packages/torch/hub.py", line 137, in _get_cache_or_reload
repo_owner, repo_name, branch = _parse_repo_info(github)
File "/home/li/anaconda3/envs/mytorch/lib/python3.7/site-packages/torch/hub.py", line 131, in _parse_repo_info
repo_owner, repo_name = repo_info.split('/')
ValueError: too many values to unpack (expected 2)
怎么解决呢,不知道什么原因,求助

Own best.pt weights and yolo.py file problem

Hello Zhitao,
Thank you for the great repo Yolov5. I have installed everything according to the guide from this link Zhitao
I think it is working, please see the screenshot.
Screenshot from 2022-09-04 15-28-43
I have a ZED camera, I have launched it in ROS, now I need to subscribe to it. This will be done automatically, or I need to change something in your repo?
Also, I have put my weights best.pt in the weights folder, I have changed the weights name in launch filet to "best.pt". When I launch the package, there is an some model error and something related to the path, and something related to yolo.py file.
The screenshot about this error is attached too.
Screenshot from 2022-09-04 15-05-58
Please, will you check this error? I think the best.pt file is the reason for this.
I have trained the yolov5 and saved the weights few days ago in Google Colab using Ultralytics yolov5, these weights are working great in Colab and on Ubuntu too in Python.
Thank you in advance.
Best regards,

error when "sudo pip install -r requirements.txt"

(mypytorch) aiman@aiman:~/Adroit6dof_ws/src/Yolov5_ros/yolov5_ros/yolov5_ros/yolov5$ [sudo pip install -r requirements.txt]
[sudo] password for aiman:
The directory '/home/aiman/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/aiman/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting matplotlib>=3.2.2 (from -r requirements.txt (line 4))
Could not find a version that satisfies the requirement matplotlib>=3.2.2 (from -r requirements.txt (line 4)) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5)
No matching distribution found for matplotlib>=3.2.2 (from -r requirements.txt (line 4))

Screenshot from 2022-12-16 22-52-03

may i know how to solve this problem?

请问您使用的什么相机?

博主您好!
请问您使用的什么相机?
您用的yolov5是哪个版本?
我是载TX2上安装了torch1.8,python是3.6.9,在运行roslauch那步报错ImportError: No module named torc但是运行别的程序可以调用torch
希望得到博主的回复,谢谢博主!

如何使用自己的训练模型

请问,自己的训练模型为什么是放在model下呢?还是说是放在weights下?.pt文件是yolov5训练得到的格式吗?还是需要自己编写呢?谢谢!

tensorrt加速

大佬,我跑通了你的这个项目,个人感觉非常报不错,不过我和经过tensorrt加速过的对比了一下,速度稍微有点慢,大佬能将tensorrt加速后的yolov5用在ros中吗,我弄这个好久了没搞定

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.