diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-07-20 09:56:58 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 9c07c9609dbc9bbeb211b3bd38195f19ab42904c (patch) | |
tree | 92acc95ec55d78e180d66e393710216be2fd3837 | |
parent | dbbe4a31f8eac4bceffa3805640c658bed25ce18 (diff) | |
download | ComputeLibrary-9c07c9609dbc9bbeb211b3bd38195f19ab42904c.tar.gz |
COMPMID-1246: Print the name of the file that cannot be loaded
Change-Id: I60e0ad323ea3c6c61be2d41d2125188bc52eaf17
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/140733
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
-rw-r--r-- | utils/GraphUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GraphUtils.cpp b/utils/GraphUtils.cpp index 5c1fda5ca6..0ce6076f6e 100644 --- a/utils/GraphUtils.cpp +++ b/utils/GraphUtils.cpp @@ -604,7 +604,7 @@ bool NumPyBinLoader::access_tensor(ITensor &tensor) // Open file std::ifstream stream(_filename, std::ios::in | std::ios::binary); - ARM_COMPUTE_ERROR_ON_MSG(!stream.good(), "Failed to load binary data"); + ARM_COMPUTE_ERROR_ON_MSG(!stream.good(), "Failed to load binary data from %s", _filename.c_str()); std::string header = npy::read_header(stream); // Parse header |