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

Introduced tf-keras for compatibility with tensorflow>2.15 #239

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

jday1
Copy link
Contributor

@jday1 jday1 commented Jul 9, 2024

In line with the release documentation for tensorflow 2.16.1, I have updated the code to use tf-keras everywhere it is required. This is because tensorflow==2.16.1 onwards uses keras 3 rather than keras 2 by default. As a result, all models using keras 2 require tf-keras for loading.

As a result of introducing tf-keras, I have increased the minimum version of tensorflow to 2.15.0. This is because the first version of tf-keras which has a tensorflow dependency compatibility restrictions (2.15.1) has tensorflow>=2.15.

I have checked all tests pass locally and the the examples from the README run.

@timodonnell
Copy link
Contributor

@iskandr This seems to be failing due to coveralls - any idea what's going on there?

image

@jday1
Copy link
Contributor Author

jday1 commented Jul 15, 2024

@iskandr This seems to be failing due to coveralls - any idea what's going on there?

image

If I had to guess, maybe it is because my PR has came from a fork of mhcflurry?

@timodonnell
Copy link
Contributor

Thanks for this contribution @jday1 !

@timodonnell timodonnell merged commit 930972a into openvax:master Jul 26, 2024
0 of 3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants