Post

Replies

Boosts

Views

Activity

Reply to Cannot assign a device for operation ReadVariableOp
Solved: A simple workaround is to uninstall tensorflow-metal. It is not perfect for M1 Macs and still under development. Also it will boost up your processing speed as tensorflow-metal is not crafted to utilise full capacity of GPUs. Errors you are getting is due to inefficiency of tensorflow-metal plugin. pip uninstall tensorflow-metal And don't forget to update tensorflow-macos to latest version. Latest version is 2.11.0 pip install --upgrade tensoflow-macos Prerequisites : Python 3.8-3.10 macOS version 12.0 or later Hope it helps!!
Topic: Machine Learning & AI SubTopic: General Tags:
Dec ’22