Skip to content

(Dev Branch) ModuleNotFoundError: No module named 'models.clipseg'  #1150

@discordinated

Description

@discordinated

Describe your environment

  • GPU: [mps]
  • VRAM: [32GB]
  • CPU arch: [arm]
  • OS: [macOS]
  • Python: [miniconda]
  • Branch: [development]
  • Commit: [Merge: 3a1003f e6fc8af]

Describe the bug
Pulled latest update to development, get no models.clipseg error when trying to launch invoke.py

To Reproduce
Steps to reproduce the behavior:

  1. On MPS update to latest development branch
  2. Run scripts/invoke.py
  3. Wati for terminal to do it's dance
  4. See error

(invokeai) MACHINENAME InvokeAI % python3 scripts/invoke.py

  • Initializing, be patient...
    Traceback (most recent call last):
    File "/Users/USERNAME/InvokeAI/scripts/invoke.py", line 708, in
    main()
    File "/Users/USERNAME/InvokeAI/scripts/invoke.py", line 36, in main
    from ldm.generate import Generate
    File "/Users/USERNAME/InvokeAI/ldm/generate.py", line 37, in
    from ldm.invoke.txt2mask import Txt2Mask, SegmentedGrayscale
    File "/Users/USERNAME/InvokeAI/ldm/invoke/txt2mask.py", line 32, in
    from models.clipseg import CLIPDensePredT
    ModuleNotFoundError: No module named 'models.clipseg'

Expected behavior
invoke.py to work with no clipseg error

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions