Since I cannot currently look into this issue deeper, I put this here as a note:
Currently, the following steps produce an unusable distribution:
- Build distro:
/.gradlew getExternalFiles :cineast-runtime:distZip
- try to extract using feature
OCRSearch.
Since the underlying models are loaded somewhat hardcoded from $pwd/resources..., the TFhub models cannot be resolved properly.
Solution sketches:
- hierarchical loading of said resources (e.g. first in working dir, then in some specified location, ...)
- pack resources into the distro and make path respect this approach
- other thoughts?