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

Docs: make base64 image a single line to decrease diff sizes #610

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ tasks:
- venv/bin/python run.py --dataset fashion-mnist-784-euclidean --algorithm elastiknn-l2lsh --runs 3 --count 100 --parallelism 1 --force --local
- mkdir -p $RESULTS_DIR
- venv/bin/python plot.py --dataset fashion-mnist-784-euclidean --count 100 --output $RESULTS_DIR/plot.png | venv/bin/python ../parse_results.py > $RESULTS_DIR/results.md
- base64 -i $RESULTS_DIR/plot.png > $RESULTS_DIR/plot.b64
- base64 -b 0 -i $RESULTS_DIR/plot.png > $RESULTS_DIR/plot.b64
- cat $RESULTS_DIR/results.md

annbRunOfficialFashionMnist:
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Elastiknn
description: >- # this means to ignore newlines until "baseurl:"
An Elasticsearch Plugin for Exact and Approximate Nearest Neighbors Search in High Dimensional Vector Spaces
url: "https://alexklibisz.github.io"
baseurl: "elastiknn"
baseurl: "/elastiknn"

theme: minimal-mistakes-jekyll
minimal_mistakes_skin: dark
Expand Down
1 change: 1 addition & 0 deletions docs/pages/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ See the ann-benchmarks directory in the Elastiknn repository for more details.

### Fashion MNIST

<!-- Using base64 here to avoid messing with image URLs -->
<img src="data:image/png;base64, {% include_relative performance/fashion-mnist/plot.b64 %}" width="600px" height="auto"/>

{% include_relative performance/fashion-mnist/results.md %}
Expand Down
Loading