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

Function get_tensorflow_lite

tools/script/get_model.py:22–25  ·  view source on GitHub ↗
(urlmodel, destmodel, name, position)

Source from the content-addressed store, hash-verified

20 print(os.popen(CONVERTER + " -f CAFFE --modelFile " + destmodel + " --prototxt " + destproto + " --MNNModel " + position + " --bizCode 0000 --keepInputFormat=0").read())
21
22def get_tensorflow_lite(urlmodel, destmodel, name, position):
23 download(urlmodel, destmodel)
24 print("Tflite Dest: " + position)
25 print(os.popen(CONVERTER + " -f TFLITE --modelFile " + destmodel + " --MNNModel " + position + " --bizCode 0000 --keepInputFormat=0").read())
26
27# get models
28

Callers 1

get_model.pyFile · 0.85

Calls 3

printFunction · 0.85
downloadFunction · 0.70
readMethod · 0.45

Tested by

no test coverage detected