Error with deepdanbooru attribute in enhanced_img2img.py
Eagle07-Sudo opened this issue · comments
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:
- Clone V1111 repository.
- Install the sd-webui-image-sequence-toolkit extension.
- 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.