Alignment model and input (#3115)
This commit is contained in:
@@ -35,6 +35,14 @@ bool ParseAndCheckCommandLine(int argc, char* argv[]) {
|
||||
throw std::logic_error("Incorrect value for nt argument. It should be greater than 0 and less than 10.");
|
||||
}
|
||||
|
||||
if (FLAGS_m.empty()) {
|
||||
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()) {
|
||||
throw std::logic_error("Path to an image is required but not set. Please set -i option.");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user