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

ModuleNotFoundError: No module named 'tensorflow_probability' #167

Open
cookpa opened this issue Feb 16, 2025 · 2 comments
Open

ModuleNotFoundError: No module named 'tensorflow_probability' #167

cookpa opened this issue Feb 16, 2025 · 2 comments

Comments

@cookpa
Copy link
Member

cookpa commented Feb 16, 2025

@ntustison looks like antspynet/architectures/create_normalizing_flow_model.py wants tensorflow_probability, which was removed in
#100.

@cookpa
Copy link
Member Author

cookpa commented Feb 16, 2025

From the release notes for https://github.com/tensorflow/probability/releases/tag/v0.25.0

When using TensorFlow Probability with TensorFlow, you must explicitly install Keras 2 along with TensorFlow (or install tensorflow-probability[tf] or tfp-nightly[tf] to automatically install these dependencies.)

The ANTsPyNet requirements.txt now installs keras 3, so I'm not sure what to do with this.

@ntustison
Copy link
Member

Thanks. Yeah, I'll take it out later when I get back home. It's more experimental work I'm doing with @stnava anyway.

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

2 participants