update from keras2onnx to tf2onnx (#15162)
This commit is contained in:
8
setup.py
8
setup.py
@@ -114,7 +114,6 @@ _deps = [
|
||||
"jax>=0.2.8",
|
||||
"jaxlib>=0.1.65",
|
||||
"jieba",
|
||||
"keras2onnx",
|
||||
"nltk",
|
||||
"numpy>=1.17",
|
||||
"onnxconverter-common",
|
||||
@@ -147,6 +146,7 @@ _deps = [
|
||||
"starlette",
|
||||
"tensorflow-cpu>=2.3",
|
||||
"tensorflow>=2.3",
|
||||
"tf2onnx",
|
||||
"timeout-decorator",
|
||||
"timm",
|
||||
"tokenizers>=0.10.1",
|
||||
@@ -229,8 +229,8 @@ extras = {}
|
||||
extras["ja"] = deps_list("fugashi", "ipadic", "unidic_lite", "unidic")
|
||||
extras["sklearn"] = deps_list("scikit-learn")
|
||||
|
||||
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx")
|
||||
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx")
|
||||
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "tf2onnx")
|
||||
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "tf2onnx")
|
||||
|
||||
extras["torch"] = deps_list("torch")
|
||||
|
||||
@@ -243,7 +243,7 @@ else:
|
||||
|
||||
extras["tokenizers"] = deps_list("tokenizers")
|
||||
extras["onnxruntime"] = deps_list("onnxruntime", "onnxruntime-tools")
|
||||
extras["onnx"] = deps_list("onnxconverter-common", "keras2onnx") + extras["onnxruntime"]
|
||||
extras["onnx"] = deps_list("onnxconverter-common", "tf2onnx") + extras["onnxruntime"]
|
||||
extras["modelcreation"] = deps_list("cookiecutter")
|
||||
|
||||
extras["sagemaker"] = deps_list("sagemaker")
|
||||
|
||||
Reference in New Issue
Block a user