|
1 | 1 | # YOLOP-opencv-dnn
|
2 |
| -使用OpenCV部署全景驾驶感知网络YOLOP,可同时处理交通目标检测、可驾驶区域分割、车道线检测,三项视觉感知任务,依然是包含C++和Python两种版本的程序实现 |
| 2 | +YOLOP, a panoramic driving perception network deployed using OpenCV, can handle traffic target detection, driveable area segmentation, and lane line detection, three visual perception tasks simultaneously, and still contains both C++ and Python versions of the program implementation |
3 | 3 |
|
4 |
| -onnx文件从百度云盘下载,链接:https://pan.baidu.com/s/1A_9cldUHeY9GUle_HO4Crg |
5 |
| -提取码:mf1x |
| 4 | +The onnx file is downloaded from Baidu Cloud Drive, link: https://pan.baidu.com/s/1A_9cldUHeY9GUle_HO4Crg Extraction code: mf1x |
6 | 5 |
|
7 |
| -C++版本的主程序文件是main.cpp,Python版本的主程序文件是main.py。把onnx文件下载到主程序文件所在目录后,就可以运行程序了。文件夹images |
8 |
| -里含有若干张测试图片,来自于bdd100k自动驾驶数据集。 |
| 6 | +The main program file for the C++ version is main.cpp, and the main program file for the Python version is main.py. After downloading the onnx file to the directory where the main program file is located, you can run the program. The folderimages contains several test images from the bdd100k autopilot dataset. |
9 | 7 |
|
10 |
| -本套程序是在华中科技大学视觉团队在最近发布的项目https://github.com/hustvl/YOLOP |
11 |
| -的基础上做的一个opencv推理部署程序,本套程序只依赖opencv库就可以运行, |
12 |
| -从而彻底摆脱对任何深度学习框架的依赖。如果程序运行出错,那很有可能是您安装的opencv版本低了,这时升级opencv版本就能正常运行的。 |
| 8 | +This program is an opencv inference deployment program based on the recently released project https://github.com/hustvl/YOLOP by the vision team of Huazhong University of Science and Technology. This program can be run by relying only on the opencv library, thus completely getting rid of the dependency on any deep learning framework. If the program runs with errors, it is likely that the version of opencv you installed is low, so you can upgrade the version of opencv to run normally. |
13 | 9 |
|
14 |
| -此外,在本套程序里,还有一个export_onnx.py文件,它是生成onnx文件的程序。不过,export_onnx.py文件不能本套程序目录内运行的, |
15 |
| -假如您想了解如何生成.onnx文件,需要把export_onnx.py文件拷贝到https://github.com/hustvl/YOLOP |
16 |
| -的主目录里之后,并且修改lib/models/common.py里的代码, |
17 |
| -这时运行export_onnx.py就可以生成onnx文件了。在lib/models/common.py里修改哪些代码,可以参见我的csdn博客文章 |
18 |
| -https://blog.csdn.net/nihate/article/details/112731327 |
| 10 | +In addition, there is an export_onnx.py file in this set, which is the program that generates the onnx file. If you want to know how to generate .onnx files, you need to copy the export_onnx.py file to the home directory of https://github.com/hustvl/YOLOP, and modify the code in lib/models/ common.py, then run export_onnx.py to generate the onnx file. See my csdn blog post https://blog.csdn.net/nihate/article/details/112731327 for what code to change in lib/models/common.py. |
| 11 | + |
| 12 | +Translated with www.DeepL.com/Translator (free version) |
0 commit comments