Thank you for answering me.
I tried to convert my JPEG file to png file by both ‘convert’ and 'mogrify command.
But when I execute the image-classifier, errors come again.
my command : ./bin_opt/image-classifier tests/images/i.png -image-mode=0to255 -m=inception_v2 -model-input-name=data “$@” -opencl -time -iterations=1
error:
#0 0x0000000000628eba llvm::sys::PrintStackTrace(llvm::raw_ostream&) (./bin_opt/image-classifier+0x628eba)
#1 0x000000000062700e llvm::sys::RunSignalHandlers() (./bin_opt/image-classifier+0x62700e)
#2 0x000000000062715e SignalHandler(int) (./bin_opt/image-classifier+0x62715e)
#3 0x00007f7d435b2d10 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10d10)
#4 0x00000000004e89db glow::readPngImageAndPreprocess(llvm::StringRef, glow::ImageNormalizationMode, glow::ImageChannelOrder, glow::ImageLayout, bool) (./bin_opt/image-classifier+0x4e89db)
#5 0x00000000004ba562 loadImagesAndPreprocess(llvm::list<std::string, bool, llvm::parserstd::string > const&, glow::Tensor*) (./bin_opt/image-classifier+0x4ba562)
#6 0x00000000004ba955 main (./bin_opt/image-classifier+0x4ba955)
#7 0x00007f7d429cba40 __libc_start_main /build/buildd/glibc-2.21/csu/libc-start.c:323:0
#8 0x00000000004b5bb9 _start (./bin_opt/image-classifier+0x4b5bb9)