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
Dear sir, I want to run the program directly locally, that is, input the image and output the segmented and marked image without using Gradio to generate the website. Is there any corresponding file? I try to modify the demo_som.py file, but I always get an error because of these two lines. _image = image['background'].convert('RGB') _mask = image['layers'][0].convert('L') if image['layers'] else None
Can you give me some tips please?Thank you.
The text was updated successfully, but these errors were encountered:
If you're getting an error there, you're most likely using an outdated version of gradio. Make sure to pip install gradio==4.17.0 as per the Dockerfile.
Dear sir, I want to run the program directly locally, that is, input the image and output the segmented and marked image without using Gradio to generate the website. Is there any corresponding file? I try to modify the demo_som.py file, but I always get an error because of these two lines.
_image = image['background'].convert('RGB') _mask = image['layers'][0].convert('L') if image['layers'] else None
Can you give me some tips please?Thank you.
The text was updated successfully, but these errors were encountered: