Procházet zdrojové kódy

fix(plugin): add missing field for plugin json, or labels can not show in ui

Signed-off-by: Jianxiang Ran <rxan_embedded@163.com>
(cherry picked from commit 25503309eaa947c60aab20832e3e08d75226b65c)
Jianxiang Ran před 2 roky
rodič
revize
629a608d06

+ 1 - 0
extensions/functions/labelImage/labelImage.json

@@ -16,6 +16,7 @@
 			"zh_CN": "示例插件,演示如何使用Tensorflow lite模型对图像进行标记推断。"
 		}
 	},
+	"name": "labelImage",
 	"functions": [{
 		"name": "labelImage",
 		"example": "labelImage(col1)",

+ 1 - 0
extensions/functions/tfLite/tfLite.json

@@ -16,6 +16,7 @@
 			"zh_CN": "通用的 TensorFlow Lite 插件,可以动态推断任何 tflite 模型。"
 		}
 	},
+	"name": "tfLite",
 	"functions": [{
 		"name": "tfLite",
 		"example": "tfLite(model,para1, para2,...)",