fix tensorflow setup libs issue
This commit is contained in:
parent
4d9621920f
commit
899d558c2d
@ -1 +1 @@
|
||||
pyinstaller --noconfirm --onefile --console --add-data libs:. --add-data assets:assets --add-data static:static --add-data templates:templates --name easy-local-alpr-1.0.0-linux_x86_64 "alpr_api.py"
|
||||
pyinstaller --noconfirm --onefile --console --add-data libs:. --add-data assets:assets --add-data static:static --add-data templates:templates --name easy-local-alpr-1.1.0-openvinocpu_linux_x86_64 "alpr_api.py"
|
||||
|
@ -139,8 +139,8 @@ else
|
||||
tar -xf libtensorflow-cpu-linux-x86_64-2.6.0.tar.gz -C "$BIN_DIR/tensorflow" >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
mv "$BIN_DIR/tensorflow/lib/"* "$BIN_DIR/libs/"
|
||||
cp "$BIN_DIR/libs/libtensorflow.so.2" "$BIN_DIR/libs/libtensorflow.so.1"
|
||||
mv "$BIN_DIR/tensorflow/lib/libtensorflow.so.1" "$BIN_DIR/libs/libtensorflow.so.1"
|
||||
mv "$BIN_DIR/tensorflow/lib/libtensorflow_framework.so.2.6.0" "$BIN_DIR/libs/libtensorflow_framework.so.2"
|
||||
|
||||
# Build the wheel
|
||||
echo "Building the wheel..."
|
||||
|
Loading…
Reference in New Issue
Block a user