-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
bugReport of a confirmed bugReport of a confirmed bug
Description
Checklist
- The issue exists after disabling all extensions
- The issue exists on a clean installation of webui
- The issue is caused by an extension, but I believe it is caused by a bug in the webui
- The issue exists in the current version of the webui
- The issue has not been reported before recently
- The issue has been reported before but has not been fixed yet
What happened?
A1111 1.7.0,Ubuntu 22
Extras→Caption: Error
Steps to reproduce the problem
- Go to Extras→Caption
- Press Generate
What should have happened?
This operation was supposed to generate caption files, but it encountered an error.
What browsers do you use to access the UI ?
No response
Sysinfo
A1111 1.7.0
Ubuntu 22
Console logs
*** Error completing request
*** Arguments: ('task(wqgmrh67bas9e4t)', 2, None, None, '/root/xxx/img/t/', '/root/xxx/img/tB/', True, 0, 1, 512, 512, True, 'None', 'None', 0, False, 1, False, 1, 0, False, 0.9, 0.15, 0.5, False, False, 384, 768, 4096, 409600, 'Maximize area', 0.1, True, ['BLIP'], False, ['Horizontal'], False, 0.5, 0.2) {}
Traceback (most recent call last):
File "/root/xxx/stable-diffusion-webui/modules/call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "/root/xxx/stable-diffusion-webui/modules/call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "/root/xxx/stable-diffusion-webui/modules/postprocessing.py", line 132, in run_postprocessing_webui
return run_postprocessing(*args, **kwargs)
File "/root/xxx/stable-diffusion-webui/modules/postprocessing.py", line 73, in run_postprocessing
scripts.scripts_postproc.run(initial_pp, args)
File "/root/xxx/stable-diffusion-webui/modules/scripts_postprocessing.py", line 196, in run
script.process(single_image, **process_args)
File "/root/xxx/stable-diffusion-webui/scripts/postprocessing_caption.py", line 28, in process
captions.append(shared.interrogator.generate_caption(pp.image))
File "/root/xxx/stable-diffusion-webui/modules/interrogate.py", line 178, in generate_caption
])(pil_image).unsqueeze(0).type(self.dtype).to(devices.device_interrogate)
AttributeError: 'str' object has no attribute 'to'Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugReport of a confirmed bugReport of a confirmed bug