This commit is contained in:
雾聪 2024-03-27 10:34:31 +08:00
parent f803707b47
commit e5fb0fb7e5

View File

@ -51,7 +51,7 @@ void ParaformerTorch::InitAsr(const std::string &am_model, const std::string &am
model_ = std::make_shared<TorchModule>(std::move(model));
LOG(INFO) << "Successfully load model from " << am_model;
} catch (std::exception const &e) {
LOG(ERROR) << "Error when load am model: " << e.what();
LOG(ERROR) << "Error when load am model: " << am_model << ", " << e.what();
exit(-1);
}
}