1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

M2 Mac Anaconda Tensorflow model.fitでエラー発生

Posted at

NOT_FOUND: could not find registered platform
と出てしまい、どうやらGPUがうまく稼働していないように見える。

Apple Developer Forumsに対策を発見https://developer.apple.com/forums/thread/721619

tensorflow-metal 0.7.0 tensorflow-macos 2.11.0を使用していることが原因の様子で、それぞれ、0.5, 2.9にDowngradeすることで無事にTensorflow model.fitがexecuteできた。
下記を(base)ではなく(tensorflow)環境のterminalで実行。

python -m pip install tensorflow-macos==2.9
python -m pip install tensorflow-metal==0.5.0

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?