Skip to content

fix region_semantic - #21

Open
kgonia wants to merge 1 commit into
showlab:mainfrom
kgonia:main
Open

kgonia wants to merge 1 commit into
showlab:mainfrom
kgonia:main

Conversation

@kgonia

@kgonia kgonia commented Apr 22, 2023

Copy link
Copy Markdown

When ssa is used region_semantic don't work properly

self.region_semantic_model.region_semantic(img_src) in image_text_transformation.py

is called without region_classify_model param so it always fallback to 'edit_anything'. It causes error when 'ssa ' was used for initalization. region_semantic method should use same model as in init so param is no needed.

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

Successfully merging this pull request may close these issues.

1 participant