Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After startup, stay on the Loading... page #2

Open
supeeeeee opened this issue May 5, 2023 · 5 comments
Open

After startup, stay on the Loading... page #2

supeeeeee opened this issue May 5, 2023 · 5 comments

Comments

@supeeeeee
Copy link

No description provided.

@5663015
Copy link
Owner

5663015 commented May 8, 2023

Have you put the weights files (SAM models and OWL-ViT models) into the checkpoints folder ? Or do you have any other error information?

@supeeeeee
Copy link
Author

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.

@5663015
Copy link
Owner

5663015 commented May 8, 2023

image
OWL-ViT model should include the above files. And please check the Python packages version in requirements.txt.

@supeeeeee
Copy link
Author

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.

@5663015
Copy link
Owner

5663015 commented May 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants