MCPcopy Create free account
hub / github.com/alibaba/MNN / download

Function download

tools/script/get_model.py:8–13  ·  view source on GitHub ↗
(url, dest)

Source from the content-addressed store, hash-verified

6print("Converter Path:" + CONVERTER)
7
8def download(url, dest):
9 if os.path.exists(dest):
10 print(dest + " exists, skip")
11 return
12 print("Download " + url + " -> " + dest)
13 urllib.urlretrieve(url, dest)
14
15
16def get_caffe1(urlmodel, destmodel, urlproto, destproto, name, position):

Callers 3

get_caffe1Function · 0.70
get_tensorflow_liteFunction · 0.70
onCopyBufferMethod · 0.50

Calls 1

printFunction · 0.85

Tested by

no test coverage detected