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

hi bro, i got some error #3

Open
guanshiang opened this issue May 8, 2023 · 2 comments
Open

hi bro, i got some error #3

guanshiang opened this issue May 8, 2023 · 2 comments

Comments

@guanshiang
Copy link

Traceback (most recent call last):
File "D:\AI\segment-anything\segment_anything_webui\app.py", line 156, in
input_image.select(
AttributeError: 'Image' object has no attribute 'select'

@5663015
Copy link
Owner

5663015 commented May 8, 2023

The version of Gradio may not be right. It should be gradio==3.25.0.

@guanshiang
Copy link
Author

C:\ProgramData\Anaconda3\envs\segmentany\lib\site-packages\gradio\utils.py:875: UserWarning: Expected 14 arguments for function <function run_inference at 0x00000229167C83A0>, received 13.
warnings.warn(
C:\ProgramData\Anaconda3\envs\segmentany\lib\site-packages\gradio\utils.py:879: UserWarning: Expected at least 14 arguments for function <function run_inference at 0x00000229167C83A0>, received 13.
warnings.warn(
Traceback (most recent call last):
File "D:\AI\test\segment_anything_webui\app.py", line 189, in
button_video.click(run_inference, inputs=[device, model_type, points_per_side, pred_iou_thresh, stability_score_thresh,
File "C:\ProgramData\Anaconda3\envs\segmentany\lib\site-packages\gradio\blocks.py", line 1285, in exit
self.config = self.get_config_file()
File "C:\ProgramData\Anaconda3\envs\segmentany\lib\site-packages\gradio\blocks.py", line 1261, in get_config_file
"input": list(block.input_api_info()), # type: ignore
File "C:\ProgramData\Anaconda3\envs\segmentany\lib\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'

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