Skip to content

Commit ddd745d

Browse files
committed
Added setup.py
1 parent 7996e87 commit ddd745d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import requests
2+
from tqdm import tqdm
3+
4+
weight_url = "https://github.com/puneet29/IntelSceneClassification/raw/master/intelmodel.pt"
5+
6+
r = requests.get(weight_url, stream=True)
7+
8+
with open("intelmodel.pt", 'wb') as f:
9+
for chunk in tqdm(r.iter_content(chunk_size=1024)):
10+
11+
if chunk:
12+
f.write(chunk)

0 commit comments

Comments
 (0)