Test Failed
Pull Request — master (#566)
by
unknown
12:49
created

external_files   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 11
dl 0
loc 20
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
"""
3
Created on Tue Oct 25 14:59:23 2022
4
5
@author: ameimand
6
"""
7
8
import requests
9
URL = 'https://raw.githubusercontent.com/arunponnusamy/object-detection-opencv/master/yolov3.txt'
10
response = requests.get(URL)
11
open('yolov3.txt', 'wb').write(response.content)
12
13
URL = 'https://pjreddie.com/media/files/yolov3.weights'
14
response = requests.get(URL)
15
open('yolov3.weights', 'wb').write(response.content)
16
17
URL = 'https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3.cfg'
18
response = requests.get(URL)
19
open('yolov3.cfg', 'wb').write(response.content)