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
My problem is not about such issue, otherwise I have tried changing the extension directory name from sd-webui-segment-anything to a1111-sd-webui-segment-anything
What happened?
An error occurs when autosam is used with controlnet
There is no throne when using controlnet normally
Steps to reproduce the problem
Go to ....
Press ....
...
What should have happened?
Normal output picture
Commit where the problem happens
webui:
extension:
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
no
Console logs
Start semantic segmentation with processor seg_ofade20k
Pixel Perfect Mode (written by lllyasviel) Enabled.
resize_mode = 1
raw_H = 768
raw_W = 512
target_H = 768
target_W = 512
estimation = 512.0
preprocessor resolution = 512
Generating semantic segmentation without SAM
Loading config D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\extensions\sd-webui-controlnet\annotator\oneformer\configs/ade20k/oneformer_swin_large_IN21k_384_bs16_160k.yaml with yaml.unsafe_load. Your machine may be at risk if the file contains malicious content.
Loading config D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\extensions\sd-webui-controlnet\annotator\oneformer\configs/ade20k\Base-ADE20K-UnifiedSegmentation.yaml with yaml.unsafe_load. Your machine may be at risk if the file contains malicious content.
Generating semantic segmentation with SAM
Auto SAM strengthening semantic segmentation
Auto SAM generated 83 masks
Auto SAM strengthen process end
Traceback (most recent call last):
File "D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\python\lib\site-packages\gradio\routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\python\lib\site-packages\gradio\blocks.py", line 1326, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\python\lib\site-packages\gradio\blocks.py", line 1260, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\python\lib\site-packages\gradio\components.py", line 4457, in postprocess
file = self.img_array_to_temp_file(img, dir=self.DEFAULT_TEMP_DIR)
File "D:\Stable_diffusion\sd-webui-aki\sd-webui-aki-v4.1\python\lib\site-packages\gradio\components.py", line 355, in img_array_to_temp_file
return self.pil_to_temp_file(pil_image, dir, format="png")
TypeError: save_pil_to_file() got an unexpected keyword argument 'format'
Additional information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Have you updated WebUI and this extension to the latest version?
Do you understand that you should read the 1st item of https://github.com/continue-revolution/sd-webui-segment-anything#faq if you cannot install GroundingDINO?
Do you understand that you should use the latest ControlNet extension and enable external control if you want SAM extension to control ControlNet?
Do you understand that you should read the 2nd item of https://github.com/continue-revolution/sd-webui-segment-anything#faq if you observe problems like AttributeError bool object has no attribute enabled and TypeError bool object is not subscriptable?
What happened?
An error occurs when autosam is used with controlnet
There is no throne when using controlnet normally
Steps to reproduce the problem
What should have happened?
Normal output picture
Commit where the problem happens
webui:
extension:
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: