Closed JoanFM closed 3 years ago
Ok, I think the problem will be where does it find the py_modules
Solution is to set the py_modules
being aware that inside the container
the files would be under
workspace`:
!VSETextEncoder
metas:
py_modules:
- workspace/vocab.py
- workspace/model.py
- workspace/__init__.py
requests:
on:
IndexRequest:
- !FilterQL
with:
lookups: {'modality': 'text'}
- !EncodeDriver {}
SearchRequest:
- !FilterQL
with:
lookups: {'mime_type__contains': 'text'}
- !EncodeDriver {}
Describe the bug When trying to migrate
crossmodal
search example, I try to change the logic by mantaining insidetxt_emb
folder a simple config:and provide from the outside with the use of
uses_internal
the file 'yaml/text_encoder.yml
:But it does not seem to work in the same way as having the file directly inside the docker by default. in the ENTRYPOINT.
┆Issue is synchronized with this Jira Task by Unito