M1 Mac環境でTensorFlowを使う
1046 ワード
M1 MacでTensorFlow環境を構築するには、Anacondaを利用するのが簡単です
Anaconda Individual Editionをインストール
Apple Developerサイトそのままの情報ですが、
miniforge3環境をダウンロードする
$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
$ chmod a+x Miniforge3-MacOSX-arm64.sh
$ . Miniforge3-MacOSX-arm64.sh
miniforge3環境を起動する
$ source ~/miniforge3/bin/activate
Tensorflow関係のツールをインストールする
$ conda install -c apple tensorflow-deps
$ python -m pip install tensorflow-macos
$ python -m pip install tensorflow-metal
おわり
Author And Source
この問題について(M1 Mac環境でTensorFlowを使う), 我々は、より多くの情報をここで見つけました https://qiita.com/baggio/items/7d673a04b2ac1a562115著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .