Files
object-detection-flask-opencv/models/dl-weights.py
Diego Inácio 7cb96779e4 Update weights downloader
- Fix output file name
2022-06-24 14:52:24 -03:00

9 lines
209 B
Python

"""
This script downloads the weight file
"""
import requests
URL = "https://pjreddie.com/media/files/yolov3.weights"
r = requests.get(URL, allow_redirects=True)
open('yolov3.weights', 'wb').write(r.content)