-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Prob with widget in Jup Notebook #2266
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
Comments
hi @DMS-999 🤝 |
Hi Eugeni, Many tnx for response. I've tried all abilities but the result is the same again and again even with create new notebook .. |
it worked before but after I started training the model on the GPU, it stopped working correctly |
But even I've switched off GPU task type it still not available |
Same problem |
Please, downgrade ipywidgets to a version less than 8.x. We're working on the fix for ipywidgets >= 8.x |
@andrey-khropov It would be great if you can solve this problem 👍 |
@andrey-khropov is there an ETA for this issue? |
Not working for me even with ipywidets==7.7.5 |
not working for me |
Any feedback on this? Meanwhile, any ipywidgets version that works? the lowest I tried is 7.6.5 and it does not work. Btw, congrats to the development team, CatBoost is among the must robust, well written ML packages out there. My favorite. |
I cannot reproduce this, so I need more detailed description of your environment and code. |
This is my conda base environment, the one I use with CatBoost:
This is the OS I am using:
This is my hardware:
browser
Thank you |
Unfortunately, a lot of these are from "file:///home/conda/feedstock_root/build_artifacts/" so it can't be deduced what are their versions. Can you describe commands to build this environment from scratch? P.S. For long listings it's better to attach files than post them inline. |
Thank you. Here is the file. |
You have ipywidgets >= 8.0 :
BTW, for new wheels built using pyproject.toml + setup.py (in master now and for all future releases) I've created an 'extra' called 'widget' that lists the proper dependencies for catboost with widget, so in order for the widget to work properly CatBoost should be installed like that: |
I "downgraded" to a much lower version of ipywidgets, and I still get the error:
|
Hi @andrey-khropov I can see that this issue is closed but tracing the other mentioned issues I could not find what is the solution to this error mentioned at the beginning of the thread |
Versions of CatBoost prior to 1.2 have been incompatible with ipywidgets 8.x. Since CatBoost 1.2 it should be compatible with ipywidgets 8.x as well. If you still have problems please create a new issue and describe your environment in details. |
@andrey-khropov |
Uh oh!
There was an error while loading. Please reload this page.
Problem:

Datas.csv version: 1.1.1
Have a prob. with widget in my Jupyter Notebook --->
"
Model class 'CatboostWidgetModel' from module 'catboost-widget' is loaded but can not be instantiated
TypeError: o._deserialize_state is not a function
at u._make_model (http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20230115133218:2:747339)
"
The text was updated successfully, but these errors were encountered: