Skip to content

Error executing callback ui_tabs_callback - AttributeError: 'BertSeriesModelWithTransformation' object has no attribute 'transformer' #10

Description

@illtellyoulater

Not sure if this is caused by some recent webui commit, but suddenly I'm getting this error

Error executing callback ui_tabs_callback for C:\Users\username\desktop\stable-diffusion-webui\extensions\stable-diffusion-webui-embedding-editor\scripts\embedding_editor.py
Traceback (most recent call last):
  File "C:\Users\username\desktop\stable-diffusion-webui\modules\script_callbacks.py", line 106, in ui_tabs_callback
    res += c.callback() or []
  File "C:\Users\username\desktop\stable-diffusion-webui\extensions\stable-diffusion-webui-embedding-editor\scripts\embedding_editor.py", line 70, in on_ui_tabs
    determine_embedding_distribution()
  File "C:\Users\username\desktop\stable-diffusion-webui\extensions\stable-diffusion-webui-embedding-editor\scripts\embedding_editor.py", line 39, in determine_embedding_distribution
    embedding_layer = cond_model.wrapped.transformer.text_model.embeddings
  File "C:\Users\username\desktop\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1269, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'BertSeriesModelWithTransformation' object has no attribute 'transformer'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions