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

TypeError: init_app() got an unexpected keyword argument 'model_dir'

Open samhoff20 opened this issue 2 years ago • 3 comments

When executing _wsgi.py from within examples/segment_anything_model/ I'm getting a type error that says the following:

Ubuntu 22.04 Python 3.11.4

python _wsgi.py -p 4243
Traceback (most recent call last):
  File "/home/sam/Projects/labelSAM/label-studio-ml-backend/label_studio_ml/examples/segment_anything_model/_wsgi.py", line 107, in <module>
    app = init_app(
          ^^^^^^^^^
TypeError: init_app() got an unexpected keyword argument 'model_dir'

samhoff20 avatar Aug 08 '23 00:08 samhoff20

hi there. I have the same issue when executing the _wsgi.py

JKYang01 avatar Oct 03 '23 17:10 JKYang01

@JKYang01 reset to previous commit 3a9486c4f5084820b83811f5b3996fc63e331f5a https://github.com/HumanSignal/label-studio-ml-backend/issues/310#issuecomment-1669071862

hihosilvers avatar Oct 10 '23 18:10 hihosilvers

Same here.

dmenig avatar Nov 25 '23 21:11 dmenig