-
Notifications
You must be signed in to change notification settings - Fork 47
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
tree_plot.html()
Fails
#89
Comments
Thanks for the report. |
After installing
|
Thanks for the prompt alert :). It seems to be another error. I suspect this is caused by a dependency mismatch between ydf / json / protobuff as the error message suggest json does not allow for the serialization of proto arrays. Do you mind printing your json and protobuff versions? import google.protobuf
print(google.protobuf.__version__)
import json
print(json.__version__) |
I just restarted the notebook and am no longer able to import the ydf package. See #87 (comment). However, despite the unsuccessful ydf package import, I did print the json and protobuf versions in case it helps:
|
After a fresh install of ydf and tensorflow_decisions_forests, I am getting the same error from Meanwhile, I have verified protobuf and json versions again are:
|
Thanks for the versions. Can you share the parameters of the |
Here is the code I'm using to create the learner and model (that leads to the error calling
|
Thanks. There is an issue when plotting sparse oblique trees. The fix will be available in the next release. Temporarily use *I'll close the issue after the new version get release. |
Retrieving the HTML for a tree plot from my gradient boosted tree model fails:
Output:
Here are some relevant package versions I have installed:
The text was updated successfully, but these errors were encountered: