Skip to content
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

tutorial not working: Text classification with Scikit-Learn #6338

Open
az0 opened this issue Sep 7, 2024 · 0 comments
Open

tutorial not working: Text classification with Scikit-Learn #6338

az0 opened this issue Sep 7, 2024 · 0 comments

Comments

@az0
Copy link

az0 commented Sep 7, 2024

Describe the bug

I am following the official tutorial for a simple text classifier , but label-studio start causes crash. Also, the label-studio-ml development log shows errors when labeling, training, or requesting predictions.

To Reproduce

  1. I followed the steps in the official text classifier tutorial
  2. I used the "development mode" backend option
  3. When running label-studio start my_project --init --ml-backends http://localhost:9090, I got a traceback (see attachment), so instead, I created a project myself in the web interface
  4. I imported a CSV file with 32 short texts. (I would appreciate the tutorial providing a sample file.)
  5. I enabled pretraining
  6. I clicked "send test request" and it seemed to work. The ml backend shows a /predict request with status 200.
  7. I labeled texts. When opening a record, there is a traceback. See attachment label-studio-ml-open-for-label.log
  8. When submitting a label, there was a traceback. See attachment label-studio-submit-label.log
  9. I clicked "start training" and got a similar traceback.
  10. I checked three tasks and clicked "request predictions" and got a similar traceback

Expected behavior

  • No traceback
  • Show predictions in label-studio

Screenshots

start_project.log
label-studio-ml-open-for-label.log
label-studio-submit-label.log

Environment (please complete the following information):
label-studio 1.13.1
label-studio-ml 1.0.9
label-studio-sdk 1.0.5
label-studio-tools 0.0.4
Python 3.12.3
Ubuntu 24.04 (Noble)

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