I am trying to use PhaseNet and it request the tensorflow==2.14.0. However, when I try to install the tensorflow, the pip does not shows availability of the version 2.14:
pip install tensorflow==2.14.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14.0 (from versions: 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0, 2.17.1, 2.18.0rc0, 2.18.0rc1, 2.18.0rc2, 2.18.0)
ERROR: No matching distribution found for tensorflow==2.14.0
I have installed the 2.16.1, but the PhaseNet didn't work when it try to use the tensorflow. It shows the following message:
File "/opt/anaconda3/envs/phasenet/lib/python3.12/site-packages/tensorflow/python/util/lazy_loader.py", line 207, in __getattr__
raise AttributeError(
AttributeError: `conv2d` is not available with Keras 3.
Does someone have any suggestion how to install the tensorflow==2.14.0 when it is not available on pip?
Thanks in advance, Guilherme
tensorflow
2.14.0 requires and provides wheels for Pythons 3.9, 3.10, 3.11.
Use Python 3.11.