# Yolov3 Python Error

**URL:** <https://forum.opencv.org/t/yolov3-python-error/5328>\
**Category:** Python\
**Tags:** dnn\
**Created:** [September 23, 2021, 12:32am UTC](https://forum.opencv.org/t/yolov3-python-error/5328 "2021-09-23T00:32:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [September 23, 2021, 9:50am UTC](https://forum.opencv.org/t/yolov3-python-error/5328/2 "2021-09-23T09:50:59Z")

</div>

> [@bsarrett](#):
>
> Yolo cfg and weights file downloaded from official website.

hmm, your [files do not exist here](https://pjreddie.com/darknet/yolo/)  
(all links go to the [same weights file](https://pjreddie.com/media/files/yolov3.weights) )

related:

> [@readNetFromDarkNet Throwing Exception](https://forum.opencv.org/t/readnetfromdarknet-throwing-exception/5239/):
>
> Hello this is my first time posting, if I am missing anything please ask. I am trying to run yolov3 object detection algorithm in opencv on a cpu in C++ Visual Studio 2019. Here is my C++ Code: #include \<iostream\> #include \<fstream\> #include \<opencv2/core.hpp\> #include \<opencv2/highgui.hpp\> #include \<opencv2/imgcodecs.hpp\> #include \<opencv2/dnn.hpp\> using namespace std; int main() { cv::VideoCapture webcam(0); cv::Mat frame; webcam.read(frame); vector\<string\> classNames; …

---

_[View the full topic](https://forum.opencv.org/t/yolov3-python-error/5328)._
