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

Compatibility Issue with TensorFlow Addons and TensorFlow 2.14.0 #220

Open
zapod838 opened this issue May 26, 2024 · 3 comments
Open

Compatibility Issue with TensorFlow Addons and TensorFlow 2.14.0 #220

zapod838 opened this issue May 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zapod838
Copy link

I encountered a compatibility issue while running AUCMEDI with TensorFlow 2.14.0. The TensorFlow Addons (TFA) library shows a warning that it supports TensorFlow versions from 2.11.0 up to but not including 2.14.0. Here is the warning message:

TensorFlow Addons (TFA) has ended development and introduction of new features. TFA has entered a minimal maintenance and release mode until a planned end of life in May 2024. Please modify downstream libraries to take dependencies from other repositories in our TensorFlow community (e.g., Keras, Keras-CV, and Keras-NLP).

TensorFlow Addons supports using Python ops for all TensorFlow versions above or equal to 2.11.0 and strictly below 2.14.0 (nightly versions are not supported). The version of TensorFlow you are currently using is 2.14.0 and is not supported.

Could the compatibility matrix or requirements be updated to address this issue?

@zapod838 zapod838 changed the title Title: Compatibility Issue with TensorFlow Addons and TensorFlow 2.14.0 Compatibility Issue with TensorFlow Addons and TensorFlow 2.14.0 May 26, 2024
@zapod838
Copy link
Author

Its resolved thanks!

@muellerdo
Copy link
Member

Hi @zapod838,

thanks for spotting & reporting this issue!

Sadly, TFA dropped support which is why a subpackage of AUCMEDI for Vision Transformers is not functional anymore.

I wrote a pull request to fix this issue:
faustomorales/vit-keras#45

In the meantime to get your AUCMEDI instance functional again:

  • Install AUCMEDI via the requirements.txt from the source code
    or
  • Downgrade the following packages:
    classification-models-3D==1.0.10 and tensorflow==2.14.0

Cheers,
Dominik

@muellerdo muellerdo added the bug Something isn't working label May 28, 2024
@zapod838
Copy link
Author

zapod838 commented May 29, 2024

Hi @muellerdo,

Sorry to bother you on this matter, I tried everything what you have suggested but still struggling with same issues!

Though pretrained models are available on https://zenodo.org/records/4573990, implementing them for now!

One more issue I am facing is to how should I use XAI functions from pretrained models? as in AUCMEDI package within xai folder there is a decoder file asking for xai_dict, which is unavailable at the moment.

Can you please either guide me how should I use XAI functions from pretrained models or how should I get xai_dict required in decoder.py.

Cheers,
Manish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants