jina-ai / clip-as-service

🏄 Scalable embedding, reasoning, ranking for images and sentences with CLIP
https://clip-as-service.jina.ai
Other
12.48k stars 2.07k forks source link

chore: fix configuration file for the search flow #869

Closed zawabest closed 2 years ago

zawabest commented 2 years ago

del null key. otherwise,U will get this error. TypeError: clip_server.executors.clip_torch.CLIPEncoder() argument after ** must be a mapping, not NoneType.

jemmyshin commented 2 years ago

Thanks for reporting, we will fix this soon

jemmyshin commented 2 years ago

can you fix the commit message checking error by removing the dot? It complains: subject may not end with full stop @zawabest

codecov[bot] commented 2 years ago

Codecov Report

Merging #869 (a5e9c55) into main (f251539) will decrease coverage by 11.87%. The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #869       +/-   ##
===========================================
- Coverage   82.66%   70.78%   -11.88%     
===========================================
  Files          22       22               
  Lines        1448     1448               
===========================================
- Hits         1197     1025      -172     
- Misses        251      423      +172     
Flag Coverage Δ
cas 70.78% <ø> (-11.88%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
server/clip_server/executors/clip_tensorrt.py 0.00% <0.00%> (-93.11%) :arrow_down:
server/clip_server/model/clip_trt.py 0.00% <0.00%> (-85.72%) :arrow_down:
server/clip_server/model/trt_utils.py 0.00% <0.00%> (-83.52%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

zawabest commented 2 years ago

can you fix the commit message checking error by removing the dot? It complains: subject may not end with full stop @zawabest

done