Thank you for writing this code, it greatly helped me understand image processing in java. I am trying to use a models based on inceptionv3 to get better quality results, and downloaded the models from tfhub.
A/libc: /usr/local/google/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type std::bad_alloc: std::bad_alloc" failed
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 32555 (.astyletransfer), pid 32555 (.astyletransfer)
the models have the same input/output shapes and should work exactly the same as the other models, then why do they crash the app?