Darknet.exe打印出Cuda&运行时的Opencv版本 [英] Darknet.exe Prints out Cuda & Opencv Version When Run

查看:66
本文介绍了Darknet.exe打印出Cuda&运行时的Opencv版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用我训练的Yolov4 Darknet模型进行推断,每当我尝试在Powershell中运行Command时,所做的只是打印出Cuda版本和OpenCv版本.如果有人经历过或知道解决方案,那就太好了.

I have been trying to make an inference using the Yolov4 Darknet model I trained, and whenever I try to run the Command in Powershell, all It does is print out Cuda Version and OpenCv Version. If anybody has experienced this or knows a solution that would be amazing.

推荐答案

您必须将输入文件/视频指定为最后一个cmd行参数,以对该特定文件/视频进行推断.

You will have to specify the input file/video as the last cmd line argument to perform inference on that particular file/video.

例如:

input image: darknet.exe detector test cfg/coco.data yolov4.cfg yolov4.weights -ext_output dog.jpg

video: darknet.exe detector demo cfg/coco.data cfg/yolov4.cfg yolov4.weights -ext_output test.mp4

WebCam 0: darknet.exe detector demo cfg/coco.data cfg/yolov4.cfg yolov4.weights -c 0

这篇关于Darknet.exe打印出Cuda&运行时的Opencv版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆