Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Error with deepdanbooru attribute in enhanced_img2img.py #31

Open
Eagle07-Sudo opened this issue Apr 26, 2023 · 0 comments
Open

Error with deepdanbooru attribute in enhanced_img2img.py #31

Eagle07-Sudo opened this issue Apr 26, 2023 · 0 comments

Comments

@Eagle07-Sudo
Copy link

Issue Description

When attempting to run the famous V1111 fork of the Automatic1111, I encountered an error with the deepdanbooru attribute in the enhanced_img2img.py module. The setup.log displayed the following error message:

Module load: C:\AI\V1111\extensions\enhanced-img2img\scripts\enhanced_img2img.py: AttributeError
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ C:\AI\V1111\modules\script_loading.py:10 in load_module                                                              │
│                                                                                                                      │
│    9 │   try:                                                                                                        │
│ ❱ 10 │   │   module_spec.loader.exec_module(module)                                                                  │
│   11 │   except Exception as e:                                                                                      │
│ in exec_module:883                                                                                                   │
│ in _call_with_frames_removed:241                                                                                     │
│                                                                                                                      │
│ C:\AI\V1111\extensions\enhanced-img2img\scripts\enhanced_img2img.py:22 in <module>                                   │
│                                                                                                                      │
│    21 from modules.sd_hijack import model_hijack                                                                     │
│ ❱  22 if cmd_opts.deepdanbooru:                                                                                      │
│    23 │   import modules.deepbooru as deepbooru                                                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'Namespace' object has no attribute 'deepdanbooru'

After posting my issue on Vlad's GitHub repository, Vladmandic responded that the cause of the error was likely due to the sd-webui-image-sequence-toolkit extension. Vladmandic advised updating the extension since it included a command line flag "--deepdanbooru" that had no function and had been removed as it was useless..

Steps to Reproduce:

  1. Clone V1111 repository.
  2. Install the sd-webui-image-sequence-toolkit extension.
  3. Run the webui.bat file to start the V1111 application.

Additional Information:

  • The extension works fine with Automatic1111 version.

Version Platform Description

  • Python 3.10.9 on Windows 11
  • vlad stable diffusion Version: 24531398 Tue Apr 25 19:36:41 2023 -0400
  • sd-webui-image-sequence-toolkit version: latest

Could you please investigate this issue further and provide a fix?
Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Eagle07-Sudo and others