Upload model script

This commit is contained in:
Diego Inácio committed 2021-03-20 17:50:35 -03:00
1 parent 75597d840b
commit 97fc770db6
1 file changed
+8
+8
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)