From beb2eaa2aabf2b6114d1480df7565d37cc8656b6 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 21 Nov 2022 08:34:24 +0100 Subject: [PATCH] make it better --- README.md | 7 ++++++- test.py | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eab4126..0c99230 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,12 @@ or install with faster inference using onnx. ``` pip install classy-classification[onnx]``` -## ONNX on Mac M1 +## ONNX issues + +### pickling + +ONNX does show some issues when pickling the data. +### M1 Some [installation issues](https://github.com/onnx/onnx/issues/3129) might occur, which can be fixed by these commands. ``` diff --git a/test.py b/test.py index da7d492..1d6703d 100644 --- a/test.py +++ b/test.py @@ -7,4 +7,3 @@ "text_categorizer", config={"data": list(training_data), "cat_type": "zero", "include_sent": True, "multi_label": True}, ) -print(nlp("kitchen stuff")._.cats)