[Filters] Emit more friendly error messages.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 14 Jun 2019 02:16:54 +0000 (11:16 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 17 Jun 2019 04:53:53 +0000 (13:53 +0900)
commita7a4845feac288939b575e5b53c2ca1015a99b02
treea302ed0972c7bda15b2031d7de3b6b3e6e0c8df8
parentdc8e1df97980c5340883365c74d6c2d90689f5c8
[Filters] Emit more friendly error messages.

When they cannot load a model file due to file types,
don't just tell you cannot load it.
Tell more about it along with the file path.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_pytorch_core.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_core.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite_core.cc