After startup, stay on the Loading... page
supeeeeee opened this issue · 5 comments
Have you put the weights files (SAM models and OWL-ViT models) into the checkpoints
folder ? Or do you have any other error information?
I think all 3 SAM models and the OWL-VIT model("pytorch_model.bin" ?) are in the right place, the app.py file can run, but after startup and click the local URL the page stay on the Loading....
The only UserWarning is : Expected at least 14 arguments for function <function run_inference at 0x7f06a9fa1820>, received 13.
Thanks a lot bro!! but I still have a problem:
"/anaconda3/envs/SAM/lib/python3.10/site-packages/gradio_client/serializing.py", line 41, in input_api_info
return (api_info["serialized_input"][0], api_info["serialized_input"][1])
KeyError: 'serialized_input'"
I think my Gradio version is right(gradio==3.25.0), but I still get this warning.
Thanks a lot bro!! but I still have a problem:
"/anaconda3/envs/SAM/lib/python3.10/site-packages/gradio_client/serializing.py", line 41, in input_api_info return (api_info["serialized_input"][0], api_info["serialized_input"][1]) KeyError: 'serialized_input'"
I think my Gradio version is right(gradio==3.25.0), but I still get this warning.
I think the function run_inference
in inference.py
has a bug. The param selected_points
should be selected_points=[]
. I have pushed the fixed code.