Upload model script
This commit is contained in:
8
models/dl-weights.py
Normal file
8
models/dl-weights.py
Normal 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)
|
||||||
Reference in New Issue
Block a user