Skip to content

examples sklearn_text_classifier model.py get project_id error #745

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

Open
yangzhouhu opened this issue Apr 1, 2025 · 0 comments
Open

examples sklearn_text_classifier model.py get project_id error #745

yangzhouhu opened this issue Apr 1, 2025 · 0 comments

Comments

@yangzhouhu
Copy link

label-studio-ml-backend examples sklearn_text_classifier model.py function fit(self, event, data, **kwargs):
The error in obtaining the variable 'project_id' at line 165 :

× project_id = data['annotation']['project']

╰─> should be change to : project_id = data['project']['id']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant