Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ download_model
Function
download_model
examples/onnx/utils.py:28–31 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
26
27
28
def
download_model(url):
29
download_dir =
'/tmp/'
30
with
tarfile.open(check_exist_or_download(url),
'r'
)
as
t:
31
t.extractall(path=download_dir)
32
33
34
def
load_dataset(test_data_dir):
Callers
15
resnet18.py
File · 0.90
vgg16.py
File · 0.90
squeezenet.py
File · 0.90
shufflenetv1.py
File · 0.90
mobilenet.py
File · 0.90
superresolution.py
File · 0.90
tiny_yolov2.py
File · 0.90
shufflenetv2.py
File · 0.90
fer_emotion.py
File · 0.90
arcface.py
File · 0.90
densenet121.py
File · 0.90
vgg19.py
File · 0.90
Calls
1
check_exist_or_download
Function · 0.70
Tested by
no test coverage detected