You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ML backend for a multi model project. I am creating two instance of TrOCR model (Hand written and Machine printed). While loading 2nd model hugginface makes changes in cache folder. This triggers app reload deleting all loaded model or app crashes. Loading a single model works fine.
mp_trocr is for machine printed and hw_trocr is for hand written.
I have created a sub-class of LabelStudioMLBase called ABC. I created sub-class of ABC for each model. I am loading models in init of each model class.
I am using ML backend for a multi model project. I am creating two instance of TrOCR model (Hand written and Machine printed). While loading 2nd model hugginface makes changes in cache folder. This triggers app reload deleting all loaded model or app crashes. Loading a single model works fine.
mp_trocr is for machine printed and hw_trocr is for hand written.
I have created a sub-class of LabelStudioMLBase called ABC. I created sub-class of ABC for each model. I am loading models in init of each model class.
This is a replica of actual code. I trying to create a config driven project. Config paths are passed while creating objects.
Tried and Failed
Is there any way to restrict this reloading to a particular folder?
Label studio version 1.11.0
ML backend version 1.0.8rc3
The text was updated successfully, but these errors were encountered: