demo_auto_generation.py:96: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
image=ImageMask(label="Click on Image (Please only click one point, or our model will take the center of all points as the clicked location. Remember to clear the click after each interaction, or we will take the center of the current click and previous ones as the clicked location.)",type="pil",brush_radius=15.0).style(height=512)
demo_auto_generation.py:99: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
image_out=gr.components.Image(label="Auto generation",type="pil",brush_radius=15.0).style(height=512)
demo_auto_generation.py:119: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {'scale': 20.0}
with gr.Row(scale=20.0):
demo_auto_generation.py:151: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {'scale': 2.0}
with gr.Row(scale=2.0):
demo_auto_generation.py:156: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {'scale': 9.0}
with gr.Row(scale=9.0):
Running on local URL: http://127.0.0.1:6081
IMPORTANT: You are using gradio version 3.37.0, however version 4.44.1 is available, please upgrade.
--------
[1, 2, 3, 4, 5, 6]
/home/lin/anaconda3/envs/ssam/lib/python3.8/site-packages/torchvision/transforms/transforms.py:329: UserWarning: Argument 'interpolation' of type int is deprecated since 0.13 and will be removed in 0.15. Please use InterpolationMode enum.
warnings.warn(
run
python demo_auto_generation.py --conf_files configs/semantic_sam_only_sa-1b_swinL.yaml --ckpt models/swin_large_patch4_window12_384_22k.pthNo masks generated
Terminal msg: