Skip to content

Commit

Permalink
Properly handle Bayesian model import failure (#207)
Browse files Browse the repository at this point in the history
* Properly handle Bayesian model import failure

* Fix incompat tensorflow version

---------

Co-authored-by: Pierre-Paul De Breuck <[email protected]>
  • Loading branch information
ml-evs and ppdebreuck authored Apr 2, 2024
1 parent 024d720 commit 1d08ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modnet/models/bayesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
try:
import tensorflow_probability as tfp
except ImportError:
raise RuntimeError(
raise ImportError(
"`tensorflow-probability` is required for Bayesian models: install modnet[bayesian]."
)

Expand Down

0 comments on commit 1d08ebf

Please sign in to comment.