aboutsummaryrefslogtreecommitdiff
path: root/tests/ImageNetDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ImageNetDatabase.cpp')
-rw-r--r--tests/ImageNetDatabase.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ImageNetDatabase.cpp b/tests/ImageNetDatabase.cpp
index 0a235c9a3e..ac4bc21ff9 100644
--- a/tests/ImageNetDatabase.cpp
+++ b/tests/ImageNetDatabase.cpp
@@ -33,13 +33,6 @@ std::unique_ptr<ImageNetDatabase::TTestCaseData> ImageNetDatabase::GetTestCaseDa
testCaseId = testCaseId % boost::numeric_cast<unsigned int>(m_ImageSet.size());
const ImageSet& imageSet = m_ImageSet[testCaseId];
const std::string fullPath = m_BinaryDirectory + imageSet.first;
- FILE* file = fopen(fullPath.c_str(), "rb");
-
- if (file == nullptr)
- {
- BOOST_LOG_TRIVIAL(fatal) << "Failed to load " << fullPath;
- return nullptr;
- }
InferenceTestImage image(fullPath.c_str());
image.Resize(m_Width, m_Height);