Skip to content

Commit

Permalink
Add note about tensorflow>=2.11 (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
huiwengoh authored Jun 7, 2023
1 parent da65a97 commit bf3b56c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cleanlab/models/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
This is a good example of making any bespoke neural network compatible with cleanlab.
You must have `Tensorflow 2 installed <https://www.tensorflow.org/install>`_ (only compatible with Python versions >= 3.7).
This wrapper class is only fully compatible with ``tensorflow<2.11``, if using ``tensorflow>=2.11``,
please replace your Optimizer class with the legacy Optimizer `here <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/legacy/Optimizer>`_.
Tips:
Expand Down

0 comments on commit bf3b56c

Please sign in to comment.