mirror of
https://github.com/vladmandic/automatic
synced 2026-08-30 00:50:59 +02:00
c0f5f41042
The DWPose (Legacy) "Pose Model" (Tiny/Medium/Large) radio wrote to config['DWPose (Legacy)']['model'], but the rtmlib backend (RtmlibPoseDetector.from_pretrained) only takes the mode string and always loads RTMPose 'lightweight' - it never reads that key (the only config[...]['model'] readers are the SegmentAnything branch). The selector was a no-op left over from the removed mmpose DWPose processor (see #4956). Remove the radio, its dead 'model' config key (both the module-level and delay_load_config dicts), and its update_settings slot; reindex the remaining settings 18..27. The settings list stays 1:1 with the UI controls (re-derived the append-order -> update_settings map to confirm). No runtime behavior change. The alternative - keep the capability by mapping Tiny/Medium/Large onto rtmlib's mode - is intentionally not taken here since it would change which model loads. Co-Authored-By: Claude <noreply@anthropic.com>