label-studio-ml-backend icon indicating copy to clipboard operation
label-studio-ml-backend copied to clipboard

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

Open kashinath12345 opened this issue 1 year ago • 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.

kashinath12345 avatar Apr 05 '24 07:04 kashinath12345

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.

Jiefei-Wang avatar Apr 18 '24 15:04 Jiefei-Wang

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.

niklub avatar Apr 19 '24 17:04 niklub