Closed AshinWang closed 3 years ago
Hi, @AshinWang, first of all, thank you for trying out this example. Could you:
pip freeze
to provide the environments?Hi, @AshinWang, first of all, thank you for trying out this example. Could you:
- Provide the version of Jina, or do a
pip freeze
to provide the environments?- When you make a request, could you go back to Jina's terminal and see if there are any errors log?
- Thanks!
Thank you for your reply. I use Conda
to create an independent environment(Jina
). The following is the installation according torequirements.txt
. And all logs are shown above.
Examples Link: https://github.com/jina-ai/examples/tree/master/multimodal-search-pdf
version info
(jina) ashin@Elliot ~ % pip freeze
absl-py==0.12.0
aiofiles==0.7.0
appdirs==1.4.4
arrow==1.1.0
asgiref==3.3.4
astunparse==1.6.3
audioread==2.1.9
binaryornot==0.4.4
cachetools==4.2.2
cairocffi==1.2.0
CairoSVG==2.5.2
certifi==2021.5.30
cffi==1.14.5
chardet==4.0.0
click==7.1.2
cookiecutter==1.7.3
cssselect2==0.4.1
dataclasses==0.6
decorator==5.0.9
defusedxml==0.7.1
docker==5.0.0
fastapi==0.65.2
filelock==3.0.12
fluent-logger==0.10.0
future==0.18.2
gast==0.3.3
gevent==21.1.2
google-auth==1.30.1
google-auth-oauthlib==0.4.4
google-pasta==0.2.0
greenlet==1.1.0
grpcio==1.38.0
h11==0.12.0
h5py==2.10.0
html5lib==1.1
idna==2.10
jina==1.2.0
Jinja2==3.0.1
jinja2-time==0.2.0
joblib==1.0.1
Keras-Preprocessing==1.1.2
librosa==0.8.0
llvmlite==0.36.0
lz4==3.1.1
Markdown==3.3.4
MarkupSafe==2.0.1
msgpack==1.0.2
numba==0.53.1
numpy==1.20.3
oauthlib==3.1.1
opt-einsum==3.3.0
packaging==20.9
pandas==1.2.2
pdfminer.six==20200517
pdfplumber==0.5.27
Pillow==8.1.2
pooch==1.4.0
poyo==0.5.0
prettytable==2.1.0
protobuf==3.17.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
pycryptodome==3.10.1
pydantic==1.8.2
PyMuPDF==1.18.5
pyparsing==2.4.7
PyPDF2==1.26.0
Pyphen==0.10.0
python-dateutil==2.8.1
python-magic==0.4.24
python-multipart==0.0.5
python-slugify==5.0.2
pytz==2021.1
PyYAML==5.4.1
pyzmq==22.1.0
regex==2021.4.4
requests==2.25.1
requests-oauthlib==1.3.0
resampy==0.2.2
rsa==4.7.2
sacremoses==0.0.45
scikit-learn==0.24.2
scipy==1.4.1
sentencepiece==0.1.91
six==1.16.0
sortedcontainers==2.4.0
SoundFile==0.10.3.post1
starlette==0.14.2
tensorboard==2.2.2
tensorboard-plugin-wit==1.8.0
tensorflow-cpu==2.2.0
tensorflow-estimator==2.2.0
termcolor==1.1.0
text-unidecode==1.3
tf-slim==1.1.0
threadpoolctl==2.1.0
tinycss2==1.1.0
tokenizers==0.9.4
torch==1.7.0
torchvision==0.8.1
tornado==6.1
tqdm==4.61.1
transformers==4.1.1
typing-extensions==3.10.0.0
urllib3==1.26.5
uvicorn==0.14.0
uvloop==0.15.2
Wand==0.6.6
wcwidth==0.2.5
WeasyPrint==52.4
webencodings==0.5.1
websocket-client==1.1.0
websockets==9.1
Werkzeug==2.0.1
wrapt==1.12.1
wsproto==1.0.0
zope.event==4.5.0
zope.interface==5.4.0
Did you run the python app.py -t index
? If you run this, you should see a folder workspace
. Make sure the files are not of 0 size
I cannot reproduce this error from my side. I guess maybe the issue is the workspace.
I cannot reproduce this error from my side. I guess maybe the issue is the workspace. Thank you for your help! I delete the
workspace
folder and rebuild theindex
, it work normally!
Refer to readme to build PDF search, but the result is not like the example.
python app.py -t query_restful
Query via REST API
result