Update examples/llava/clip.cpp
Used fprintf instead of output streams. Co-authored-by: Clint Herron <hanclinto@gmail.com>
This commit is contained in:
parent
aa9e72158b
commit
28d1c4566a
1 changed files with 1 additions and 1 deletions
|
@ -1283,7 +1283,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
|
|||
throw std::invalid_argument("Invalid hyperparameter values");
|
||||
}
|
||||
} catch (const std::exception& e) {
|
||||
std::cerr << "Error while loading hyperparameters: " << e.what() << std::endl;
|
||||
fprintf(stderr, "Error while loading hyperparameters: %s\n", e.what());
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue