Apple silicon install mediapipe-model-maker
构建并安装 tensorflow-text
安装 tensorflow
和 tensorflow-metal
pip install tensorflow==2.14.0
pip install tensorflow-metal==1.1.0
下载 text 2.14.0
wget https://github.com/tensorflow/text/archive/refs/tags/v2.14.0.zip
unzip ./v2.14.0.zip
cd text-2.14.0
oss_scripts/configure.sh
修改第 49 行:
pip install tensorflow-macos==2.14.0
运行 .sh
./oss_scripts/run_build.sh
安装 .whl
pip install ./*.whl
安装 PyYAML
pip install PyYAML==5.3.1
安装 mediapipe-model-maker
pip install mediapipe-model-maker==0.2.1.3