}
if (FLAGS_m.empty()) {
+ showUsage();
throw std::logic_error("Model is required but not set. Please set -m option.");
}
slog::info << "Parsing input parameters" << slog::endl;
if (FLAGS_m.empty()) {
+ showUsage();
throw std::logic_error("Model is required but not set. Please set -m option.");
}
if (FLAGS_i.empty()) {
+ showUsage();
throw std::logic_error("Input is required but not set. Please set -i option.");
}
}
if (FLAGS_m.empty()) {
+ showUsage();
throw std::logic_error("Path to a .bin file with weights for the trained model is required but not set. Please set -m option.");
}
if (FLAGS_i.empty()) {
+ showUsage();
throw std::logic_error("Path to an image is required but not set. Please set -i option.");
}
slog::info << "Parsing input parameters" << slog::endl;
if (FLAGS_m.empty()) {
+ showUsage();
throw std::logic_error("Model is required but not set. Please set -m option.");
}
if (FLAGS_i.empty()) {
+ showUsage();
throw std::logic_error("Input is required but not set. Please set -i option.");
}
}
if (FLAGS_m.empty()) {
+ showUsage();
throw std::logic_error("Model is required but not set. Please set -m option.");
}
if (FLAGS_i.empty()) {
+ showUsage();
throw std::logic_error("Input is required but not set. Please set -i option.");
}