Issue loading the ckpt and yaml
I am using webUI automatic1111 and having an issue loading the ckpt with error message:
Traceback (most recent call last):
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/blocks.py", line 982, in process_api
result = await self.call_function(fn_index, inputs, iterator)
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/blocks.py", line 824, in call_function
prediction = await anyio.to_thread.run_sync(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/ui.py", line 1642, in
fn=lambda value, k=k: run_settings_single(value, key=k),
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/ui.py", line 1483, in run_settings_single
if not opts.set(key, value):
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/shared.py", line 474, in set
self.data_labels[key].onchange()
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/webui.py", line 63, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/sd_models.py", line 340, in reload_model_weights
load_model(checkpoint_info)
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/sd_models.py", line 291, in load_model
sd_config = OmegaConf.load(checkpoint_info.config)
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/omegaconf/omegaconf.py", line 188, in load
obj = yaml.load(f, Loader=get_yaml_loader())
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/composer.py", line 58, in compose_document
self.get_event()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/parser.py", line 118, in get_event
self.current_event = self.state()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/parser.py", line 193, in parse_document_end
token = self.peek_token()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/scanner.py", line 129, in peek_token
self.fetch_more_tokens()
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/yaml/scanner.py", line 258, in fetch_more_tokens
raise ScannerError("while scanning for the next token", None,
yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
Apparently false alarm, I cannot right click and download, I am not actually downloading the full file. It should work now that I have the full size files.
I got new error now:
Traceback (most recent call last):
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/blocks.py", line 982, in process_api
result = await self.call_function(fn_index, inputs, iterator)
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/gradio/blocks.py", line 824, in call_function
prediction = await anyio.to_thread.run_sync(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/Users/jimmygunawan/Library/Python/3.10/lib/python/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/ui.py", line 1642, in
fn=lambda value, k=k: run_settings_single(value, key=k),
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/ui.py", line 1483, in run_settings_single
if not opts.set(key, value):
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/shared.py", line 474, in set
self.data_labels[key].onchange()
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/webui.py", line 63, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: modules.sd_models.reload_model_weights()))
File "/Users/jimmygunawan/Documents/stable-diffusion-webui/modules/sd_models.py", line 334, in reload_model_weights
if sd_model.sd_model_checkpoint == checkpoint_info.filename:
AttributeError: 'NoneType' object has no attribute 'sd_model_checkpoint'
Were you able to get depth2img working with Automatic1111 using this model?
I'm having a similar issue. For me the error is "'NoneType' object has no attribute 'sd_model_hash'. Occurs if I change the model and nothing works. Driving me crazy. Using the latest SD2.1 installation.
Have you tried the yaml file that is uploaded in huggingface? Works fine here and not sure what the issue is.
Yup, using the same yaml file, same name as the ckpt file. Really fed up with Automatic1111's stability issues.