Skip to content

Distribution / Deployment for Extraction: OCRSearch resource location #357

@sauterl

Description

@sauterl

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions