From 16564f554f595c68a7045e06ec99ad93cc11aff7 Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Sun, 14 May 2023 23:11:08 +0800 Subject: [PATCH] readme : improve Core ML model conversion guidance (#915) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index de942ec..aa8a0ce 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,12 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in pip install coremltools ``` + - To ensure `coremltools` operates correctly, please confirm that [Xcode](https://developer.apple.com/xcode/) is installed and execute `xcode-select --install` to install the command-line tools. + - Python 3.10 is recommended. + - [OPTIONAL] It is recommended to utilize a Python version management system, such as [Miniconda](https://docs.conda.io/en/latest/miniconda.html) for this step: + - To create an environment, use: `conda create -n py310-whisper python=3.10 -y` + - To activate the environment, use: `conda activate py310-whisper` + - Generate a Core ML model. For example, to generate a `base.en` model, use: ```bash