Closed 1kaiser closed 1 year ago
The following table shows the compatibility between tensorflow_decision_forests
and its dependencies:
Hi,
Thank you for the report, I'll have a look. Most likely, this is indeed due to incompatibility between TF 2.12.0 and the current TF-DF - as you can see, TF-DF has not yet been updated on PyPi, but we should get to this very soon.
Best, Richard
i got to get it working ✅ by >>> removing the tensorflow install command
######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model
#Copy and execute the following code in a new Google Colab notebook launch to run the model.
!python -m pip install tensorflow_decision_forests -U -qq
# Transfer the model from Google Drive to Colab
from google.colab import drive
drive.mount("/content/gdrive")
!cp "/content/gdrive/My Drive/simple_ml_for_sheets/Ice height from bands" ydf_model
# Prepare and load the model with TensorFlow
import tensorflow as tf
import tensorflow_decision_forests as tfdf
tfdf.keras.yggdrasil_model_to_keras_model("ydf_model", "tfdf_model")
model = tf.keras.models.load_model("tfdf_model")
######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model
output from google colab