Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribution / Deployment for Extraction: OCRSearch resource location #357

Open
sauterl opened this issue Nov 20, 2022 · 1 comment
Open

Comments

@sauterl
Copy link
Collaborator

sauterl commented Nov 20, 2022

Since I cannot currently look into this issue deeper, I put this here as a note:

Currently, the following steps produce an unusable distribution:

  1. Build distro: /.gradlew getExternalFiles :cineast-runtime:distZip
  2. 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?
@lucaro
Copy link
Member

lucaro commented Nov 20, 2022

I'm almost sure that's true for all features that use external resources. While this is not the most user-friendly thing for sure, I guess it is rather trivial to start the application from the appropriate working directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants