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

Update to tensorflow2.16 and tf probability0.24 #65

Merged
merged 4 commits into from
Oct 31, 2024
Merged

Conversation

MicheleCattaneo
Copy link
Collaborator

To use Keras 2 while using tensorflow2.16+ I followed: this and switched to tf-keras.
Dependency constraints for pandas, scipy, xarray, dask, numba and zarr have been relaxed.

@MicheleCattaneo MicheleCattaneo added dependecies dependencies Pull requests that update a dependency file labels Oct 24, 2024
@dnerini dnerini changed the title Updated to tensorflow2.16 and tf probability0.24 Update to tensorflow2.16 and tf probability0.24 Oct 24, 2024
@dnerini
Copy link
Member

dnerini commented Oct 24, 2024

Looking at the warnings from the unit tests, I wonder if we could cleanup a bit... can you have a quick look?

@dnerini dnerini merged commit 596bd21 into main Oct 31, 2024
2 checks passed
@dnerini dnerini deleted the update_to_tf2.16 branch October 31, 2024 14:54
louisPoulain pushed a commit that referenced this pull request Nov 5, 2024
* Updated to tensorflow2.16 and tf probability0.24, relaxed version constraints for various libraries

* update for warnings cleanup

* Removed lambda functions from serializable models to remove safety warnings

* Test loading probabilistic model from mlflow

---------

Co-authored-by: Daniele Nerini <[email protected]>
dnerini added a commit that referenced this pull request Nov 14, 2024
* Increase a bit the margins of the distribution

* Fix missing value for mean

* increase spacing around limits to 0.05

* Update to tensorflow2.16 and tf probability0.24 (#65)

* Updated to tensorflow2.16 and tf probability0.24, relaxed version constraints for various libraries

* update for warnings cleanup

* Removed lambda functions from serializable models to remove safety warnings

* Test loading probabilistic model from mlflow

---------

Co-authored-by: Daniele Nerini <[email protected]>

* Update packages with security alerts (#66)

* Fix formatting (#67)

* (WIP) Refactor a bit how we handle probabilistic layers

* (WIP) Prepare change in how we handle proba layers

* Small bug fix

* Fix missing import

* Move to another script to avoid circular import

* Move to another script to avoid circular imports

* Add missing import

* Bug fix

* Move calculation of n_params to get_proba_layer

* Fix logger name

* Update models.py

* Modify arguments for doubly censored

* Remove leftovers

---------

Co-authored-by: Louis Poulain--Auzéau <[email protected]>
Co-authored-by: Michele Cattaneo <[email protected]>
Co-authored-by: Daniele Nerini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants