Files
automatic/modules/control
QualiaRain fdb27bb5af fix(control): SegmentAnything fails to load after processor rename
The "processors multiple fixes" rename split 'SegmentAnything' / 'SAM 2.1'
into 'SegmentAnything 1.0' / 'SegmentAnything 2.1' but left Processor.load()
matching the old name by substring:

    elif 'SegmentAnything' in processor_id:
        ... config['SegmentAnything']['model'] ...

Post-rename this (a) raises KeyError because 'SegmentAnything' is no longer
a config key, so both SAM processors fail to load, and (b) wrongly routes
'SegmentAnything 2.1' (a Sam2Detector loaded via load_config) into the
SAM-v1 weight path instead of letting it fall through to the generic
load_config branch.

Match the v1 id exactly and key off config[processor_id], restoring the
pre-rename routing: v1.0 -> explicit SAM-v1 branch, v2.1 -> load_config.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-21 23:41:32 -04:00
..
2026-06-18 11:45:34 +02:00
2026-06-18 11:45:34 +02:00
2026-06-18 11:45:34 +02:00
2026-06-20 10:49:43 +02:00
2026-04-29 07:59:43 +02:00
2026-03-25 13:47:27 -07:00
2025-10-29 11:40:20 -04:00