Skip to content

Pin mediapipe for controlnet import compatibility - #3

Open
Travor278 wants to merge 1 commit into
open-gigaai:mainfrom
Travor278:fix-mediapipe-solutions-version
Open

Pin mediapipe for controlnet import compatibility#3
Travor278 wants to merge 1 commit into
open-gigaai:mainfrom
Travor278:fix-mediapipe-solutions-version

Conversation

@Travor278

@Travor278 Travor278 commented May 9, 2026

Copy link
Copy Markdown

Pin MediaPipe to the latest verified version that still exposes the legacy mp.solutions namespace used by the current controlnet_aux release.

Related issue: open-gigaai/giga-brain-0#14 reports the failure while importing giga_models through the training repo.

Validated with:

  • python -m pip install --dry-run -r requirements.txt
  • setup.parse_requirements() includes mediapipe==0.10.21
  • mediapipe==0.10.30 reproduces AttributeError: module 'mediapipe' has no attribute 'solutions'
  • mediapipe==0.10.21 imports HEDdetector and MediapipeFaceDetector successfully
  • python -m pip check

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