fix: incorrect config files being used for non-1.0 models

pull/160/head
Bryce 2 years ago committed by Bryce Drennan
parent 5d6d955ffd
commit 85c084099c

@ -241,6 +241,9 @@ docker run -it --gpus all -v $HOME/.cache/huggingface:/root/.cache/huggingface -
## ChangeLog
**7.4.1**
- fix: incorrect config files being used for non-1.0 models
**7.4.0**
- feature: 🎉 finetune your own image model. kind of like dreambooth. Read instructions on ["Concept Training"](docs/concept-training.md) page
- feature: image prep command. crops to face or other interesting parts of photo

@ -195,7 +195,7 @@ logger = logging.getLogger(__name__)
"--model-config-path",
help="Model config file to use. If a model name is specified, the appropriate config will be used.",
show_default=True,
default=config.DEFAULT_MODEL,
default=None,
)
@click.option(
"--prompt-library-path",

@ -230,6 +230,8 @@ def resolve_model_paths(
if model_metadata_c:
config_path = model_metadata_c.config_path
model_metadata = model_metadata_w or model_metadata_c
logger.debug(f"Loading model weights from: {weights_path}")
logger.debug(f"Loading model config from: {config_path}")
return model_metadata, weights_path, config_path

Loading…
Cancel
Save