Upload model script

This commit is contained in:
Diego Inácio
2021-03-20 17:50:35 -03:00
parent 75597d840b
commit 97fc770db6

8
models/dl-weights.py Normal file
View File

@ -0,0 +1,8 @@
"""
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_t.weights', 'wb').write(r.content)