invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.8k stars 2.45k forks source link

fix(nodes): relaxed validation for segment anything #7253

Closed psychedelicious closed 3 weeks ago

psychedelicious commented 3 weeks ago

Summary

The validation on this node causes graph validation to valid. It must be validated after instantiation.

Also, it was a bit too strict. The only case we explicitly do not handle is when both bboxes and points are provided. It's acceptable if neither are provided.

Related Issues / Discussions

Closes #7248

QA Instructions

Merge Plan

n/a

Checklist