Skip to content

Commit

Permalink
fix(install_tensorflowlite): errors looking for libedgetpu.so.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jun 7, 2024
1 parent 5eff471 commit 4a49ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions install_tensorflowlite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ docker rm tflite_tmp
# Temp location crystal runs applications from
mkdir -p ~/.cache/crystal/
cp ./ext/libedgetpu.so ~/.cache/crystal/
ln -s ~/.cache/crystal/libedgetpu.so ~/.cache/crystal/libedgetpu.so.1
cp ./ext/libtensorflowlite_c.so ~/.cache/crystal/
cp ./ext/libtensorflowlite_gpu_delegate.so ~/.cache/crystal/

Expand All @@ -41,6 +42,8 @@ if [ "$1" = "$SHARDS_INSTALL" ]; then
mkdir -p ../../bin
ln -s $(pwd)/ext/libedgetpu.so ../../bin/libedgetpu.so
ln -s $(pwd)/ext/libedgetpu.so ../../libedgetpu.so
ln -s $(pwd)/ext/libedgetpu.so ../../libedgetpu.so.1
ln -s $(pwd)/ext/libedgetpu.so $(pwd)/ext/libedgetpu.so.1

ln -s $(pwd)/ext/libtensorflowlite_c.so ../../bin/libtensorflowlite_c.so
ln -s $(pwd)/ext/libtensorflowlite_c.so ../../libtensorflowlite_c.so
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: tensorflow_lite
version: 2.2.0
version: 2.2.1

development_dependencies:
ameba:
Expand Down

0 comments on commit 4a49ba9

Please sign in to comment.