Repository navigation
using huggingface met predict error AttributeError: 'IntegrationDataNode' object has no attribute 'predict'
#7238
Replies: 3 comments 1 reply
|
Hi @chencjiajy Please note that the model should be stored in one of the projects (not in Here is a sample code from this tutorial that you can try executing: Here is the output of |
|
Many thanks for your reply! @martyna-mindsdb After create model in project mindsdb, the error indeed diappear, I can predict successfully. I wonder why must create model in project mindsdb to make model predict successfully. when I created the model, I met error I'm also kind of confused with the relation between project and database。 In document https://docs.mindsdb.com/sql/project , create a project example is |
|
@chencjiajy Meanwhile, please have a look here: https://docs.mindsdb.com/sql/create/project |





Hi @chencjiajy
I tried to reproduce this error using MindsDB 23.8.3.0 installed locally. But I could execute all commands, including querying for predictions, with no errors.
Please note that the model should be stored in one of the projects (not in
example_db).Here is a sample code from this tutorial that you can try executing: