Typo for cross-check tool (#4350)

This commit is contained in:
Mingyu Kim 2021-02-16 13:08:54 +09:00 committed by GitHub
parent a73e997480
commit e22d946a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -231,7 +231,7 @@ int main(int argc, char *argv[]) {
device_config[key] = device_nstreams.at(device);
} else if (!device_config.count(key) && (FLAGS_api == "async")) {
slog::warn << "-nstreams default value is determined automatically for " << device << " device. "
"Although the automatic selection usually provides a reasonable performance,"
"Although the automatic selection usually provides a reasonable performance, "
"but it still may be non-optimal for some cases, for more information look at README." << slog::endl;
if (std::string::npos == device.find("MYRIAD")) // MYRIAD sets the default number of streams implicitly (without _AUTO)
device_config[key] = std::string(device + "_THROUGHPUT_AUTO");
@ -644,7 +644,7 @@ int main(int argc, char *argv[]) {
for (size_t ireq = 0; ireq < nireq; ireq++) {
auto reqPerfCounts = inferRequestsQueue.requests[ireq]->getPerformanceCounts();
if (FLAGS_pc) {
slog::info << "Pefrormance counts for " << ireq << "-th infer request:" << slog::endl;
slog::info << "Performance counts for " << ireq << "-th infer request:" << slog::endl;
printPerformanceCounts(reqPerfCounts, std::cout, getFullDeviceName(ie, FLAGS_d), false);
}
perfCounts.push_back(reqPerfCounts);

View File

@ -130,5 +130,5 @@ void StatisticsReport::dumpPerformanceCounters(const std::vector<PerformaceCount
} else {
throw std::logic_error("PM data can only be collected for average or detailed report types");
}
slog::info << "Pefromance counters report is stored to " << dumper.getFilename() << slog::endl;
slog::info << "Performance counters report is stored to " << dumper.getFilename() << slog::endl;
}

View File

@ -116,4 +116,4 @@ class StatisticsReport:
else:
raise Exception('PM data can only be collected for average or detailed report types')
logger.info('Pefromance counters report is stored to {}'.format(filename))
logger.info('Performance counters report is stored to {}'.format(filename))