Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you update the code version to adapt to tensorflow-2.16.2 and keras-3.0? #90

Open
fmingsl opened this issue Jul 31, 2024 · 2 comments

Comments

@fmingsl
Copy link

fmingsl commented Jul 31, 2024

Today I use env.yml to create a new environment to run predict.py, and it has an AttributeError: conv2d is not available with Keras 3 which in model.py.My env version is tensorflow-2.16.2 and keras-3.4.1.

@fmingsl fmingsl changed the title Could you update the code version to adapt tp tensorflow-2.16.2 and keras-3.0? Could you update the code version to adapt to tensorflow-2.16.2 and keras-3.0? Jul 31, 2024
@gwsmelo
Copy link

gwsmelo commented Nov 22, 2024

I am having the same trouble and unable to use the PhaseNet on my computer, because I use MacOS 13 and there is tensorflow only >2.16 to the MacOS13. It would be nice if the developers could give a help!

@zhuwq0
Copy link
Contributor

zhuwq0 commented Nov 27, 2024

Hi, Thank you for reporting. I tried to freeze the environment. Please have a try of the updated yaml file for both linux and mac: https://github.com/AI4EPS/PhaseNet
Let me know if you encounter any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants