HumanSignal/label-studio-ml-backend

spacy model: label-studio-ml init returns IndexError: list index out of range

d3vopz-net opened this issue · 0 comments

label-studio-ml init / --script label_studio_ml/examples/spacy/spacy.py

returns

==========================
Welcome to Label Studio ML!
==========================
Traceback (most recent call last):
  File "/home/d3vopz/my-ml-model/spacy-230827220500-venv/bin/label-studio-ml", line 33, in <module>
    sys.exit(load_entry_point('label-studio-ml', 'console_scripts', 'label-studio-ml')())
  File "/home/d3vopz/my-ml-model/spacy-230827220500-venv/src/label-studio-ml/label_studio_ml/server.py", line 200, in main
    create_dir(args)
  File "/home/d3vopz/my-ml-model/spacy-230827220500-venv/src/label-studio-ml/label_studio_ml/server.py", line 116, in create_dir
    model_class = model_classes[0]
IndexError: list index out of range