From e9208d2d9db09bfaa322f09dbb876d97a3e50f89 Mon Sep 17 00:00:00 2001 From: Gene Date: Thu, 19 Oct 2023 13:26:36 +0800 Subject: [PATCH] [MNT] modify user_semantic in test_workflow --- tests/test_workflow/test_workflow.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_workflow/test_workflow.py b/tests/test_workflow/test_workflow.py index 1711c8a..6259efb 100644 --- a/tests/test_workflow/test_workflow.py +++ b/tests/test_workflow/test_workflow.py @@ -18,7 +18,7 @@ import learnware.specification as specification curr_root = os.path.dirname(os.path.abspath(__file__)) user_semantic = { - "Data": {"Values": ["Tabular"], "Type": "Class"}, + "Data": {"Values": ["Image"], "Type": "Class"}, "Task": { "Values": ["Classification"], "Type": "Class", @@ -27,6 +27,12 @@ user_semantic = { "Scenario": {"Values": ["Education"], "Type": "Tag"}, "Description": {"Values": "", "Type": "String"}, "Name": {"Values": "", "Type": "String"}, + "Output": { + "Dimension": 1, + "Description": { + "0": "The label of the hand-written digit." + } + }, }