mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-02-04 10:53:34 +00:00
chore: clarify warning about missing model files (#1219)
This commit is contained in:
parent
a48b4a3ade
commit
329571131d
@ -376,7 +376,11 @@ bool ModelLoader::init_from_file(const std::string& file_path, const std::string
|
||||
LOG_INFO("load %s using checkpoint format", file_path.c_str());
|
||||
return init_from_ckpt_file(file_path, prefix);
|
||||
} else {
|
||||
if (file_exists(file_path)) {
|
||||
LOG_WARN("unknown format %s", file_path.c_str());
|
||||
} else {
|
||||
LOG_WARN("file %s not found", file_path.c_str());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user