Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

KeyError: 'quicksettings' #29

Open
sleel opened this issue May 16, 2023 · 11 comments
Open

KeyError: 'quicksettings' #29

sleel opened this issue May 16, 2023 · 11 comments

Comments

@sleel
Copy link

sleel commented May 16, 2023

repo_type:AUTOMATIC1111

KeyError Traceback (most recent call last)
in <cell line: 115>()
113 config["show_progress_every_n_steps"] = 10
114 config["show_progressbar"] = True
--> 115 if config["quicksettings"]:
116 config["quicksettings"] = "sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, use_old_karras_scheduler_sigmas, always_discard_next_to_last_sigma"
117 else:

KeyError: 'quicksettings'

repo_type:Anapnoe no such problem

@Ryuzhal
Copy link

Ryuzhal commented May 16, 2023

same here

@Linaqruf
Copy link
Owner

It should have been fixed with this commit: 8a13dce. Please try it and let me know if there is something wrong.

Thank you.

@ReEnMikki
Copy link

It should have been fixed with this commit: 8a13dce. Please try it and let me know if there is something wrong.

Thank you.

It still doesn't fix the error

@Linaqruf
Copy link
Owner

It should have been fixed with this commit: 8a13dce. Please try it and let me know if there is something wrong.
Thank you.

It still doesn't fix the error

Can you confirm it still hasnt fixed? because there is no error in my side, thank you

@Linaqruf
Copy link
Owner

image

@ReEnMikki
Copy link

It should have been fixed with this commit: 8a13dce. Please try it and let me know if there is something wrong.
Thank you.

It still doesn't fix the error

Can you confirm it still hasnt fixed? because there is no error in my side, thank you

Yeah, error is still happening for me
image
image

@Linaqruf
Copy link
Owner

Are you sure you're not using old notebook commit?

The new condition for quicksettings is :

if "quicksettings" in config:
    config["quicksettings"] = "sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, use_old_karras_scheduler_sigmas, always_discard_next_to_last_sigma"
elif "quicksettings_list" in config:
    config["quicksettings_list"] = ["sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers", "use_old_karras_scheduler_sigmas", "always_discard_next_to_last_sigma"]
write_config(config_file, config)

While that line in your console logs was from a991e9b

if config["quicksettings"]:
    config["quicksettings"] = "sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, use_old_karras_scheduler_sigmas, always_discard_next_to_last_sigma"
else:
    config["quicksettings_list"] = [
    "sd_model_checkpoint", 
    "sd_vae", 
    "CLIP_stop_at_last_layers", 
    "use_old_karras_scheduler_sigmas", 
    "always_discard_next_to_last_sigma"
    ]

If you're using colab pro please reload the notebook so you can get the latest commit.

@ReEnMikki
Copy link

Are you sure you're not using old notebook commit?

The new condition for quicksettings is :

if "quicksettings" in config:
    config["quicksettings"] = "sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, use_old_karras_scheduler_sigmas, always_discard_next_to_last_sigma"
elif "quicksettings_list" in config:
    config["quicksettings_list"] = ["sd_model_checkpoint", "sd_vae", "CLIP_stop_at_last_layers", "use_old_karras_scheduler_sigmas", "always_discard_next_to_last_sigma"]
write_config(config_file, config)

While that line in your console logs was from a991e9b

if config["quicksettings"]:
    config["quicksettings"] = "sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, use_old_karras_scheduler_sigmas, always_discard_next_to_last_sigma"
else:
    config["quicksettings_list"] = [
    "sd_model_checkpoint", 
    "sd_vae", 
    "CLIP_stop_at_last_layers", 
    "use_old_karras_scheduler_sigmas", 
    "always_discard_next_to_last_sigma"
    ]

If you're using colab pro please reload the notebook so you can get the latest commit.

Well, it's your official notebook link, and not an old copied one
image

@ReEnMikki
Copy link

Nevermind, I opened a new tab of this notebook and I see things change like the warning no longer being there. The problem was that while this notebook is still the official one, I kept the tab opening (ever since the problem was still in effect and the old commit still didn't work) and only tried running it again on that same tab of outdated notebook, instead of reloading it to refresh the page for the changes to take effect 🥲

@Linaqruf
Copy link
Owner

Yeah, sorry. I pushed so many commits today, and probably it got fixed while you were still viewing the last updated commit.
Also, sometimes there can be a delay in reflecting the changes after the commit has already been pushed to GitHub

@sleel
Copy link
Author

sleel commented May 17, 2023

Yeah, sorry. I pushed so many commits today, and probably it got fixed while you were still viewing the last updated commit. Also, sometimes there can be a delay in reflecting the changes after the commit has already been pushed to GitHub

it works Thank you so much!

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

4 participants