HumanSignal/label-studio-ml-backend

Not able to train the ML model while clicking on start training button

kashinath12345 opened this issue · 2 comments

hosted label_studio repository in my local linux system and i have started the label-studio-ml-backend in the docker for training ML model for tesseract . I am able to add model but after model adding when i am clicking on start training button nothing is happening it is not even calling fit api that is for model training and in the backend getting 404 error like below

MicrosoftTeams-image (2)
MicrosoftTeams-image (2)

please provide the solution for this issue so we able to train the model.

I think the training API endpoint has been removed in 3a9486c a year ago. Unfortunately, they haven't updated their label studio code to use the new API even util now, so this is not an issue with the ML backend, but an issue with label studio.

Please consider one of the solutions:

label-studio<1.12
set environmental flag before running Label Studio instance

ff_back_dev_1417_start_training_mlbackend_webhooks_250122_long=true

label-studio>=1.12
The training endpoint through the /webhook is working by default.