generated from caicloud/golang-template-project
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documantation for artifact format (#212)
1 parent
ede0dc0
commit 0aa60de
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Preparing Artifact format | ||
|
||
When saving an artifact with ORMB you have to declare its format in ormbfile.yaml, which is case sensitive. Here is the list of the accepted format values and extensions. | ||
|
||
| Format | Required format value | Required artifact extension | | ||
| ------------- | ------------- | ------------- | | ||
| SavedModel | "SavedModel" | "saved_model.pb" | | ||
| ONNX | "ONNX" | ".onnx" | | ||
| H5 | "H5" | ".h5" | | ||
| PMML | "PMML" | ".pmml" | | ||
| CaffeModel | "CaffeModel" | ".caffemodel" | | ||
| NetDef | "NetDef" | "init_net.pb" | | ||
| MXNetParams | "MXNetParams" | ".params" | | ||
| TorchScript | "TorchScript" | ".pt" | | ||
| GraphDef | "GraphDef" | ".graphdef" | | ||
| TensorRT | "TensorRT" | ".engine" | | ||
| SKLearn | "SKLearn" | ".joblib" | | ||
| XGBoost | "XGBoost" | ".xgboost" | | ||
| MLflow | "MLflow" | - | | ||
| Pickle | "Pickle" | ".pickle" | | ||
| Others | "Others" | - | |