Config: Change the expected TensorFlow version back to 1.15.2

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-04-14 16:50:46 +02:00
parent bec2efb302
commit c83b7d05ec
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ BUILD_TAG ?= $(BUILD_DATE)-$(BUILD_VERSION)
BUILD_OS ?= $(shell uname -s)
BUILD_ARCH ?= $(shell scripts/dist/arch.sh)
JS_BUILD_PATH ?= $(shell realpath "./assets/static/build")
TF_VERSION ?= 2.18.0
TF_VERSION ?= 1.15.2
# Install parameters.
INSTALL_PATH ?= $(BUILD_PATH)/photoprism-ce_$(BUILD_TAG)-$(shell echo $(BUILD_OS) | tr '[:upper:]' '[:lower:]')-$(BUILD_ARCH)

View File

@@ -38,7 +38,7 @@ func TestConfig_TensorFlowVersion(t *testing.T) {
c := NewConfig(CliTestContext())
version := c.TensorFlowVersion()
assert.IsType(t, "2.18.0", version)
assert.IsType(t, "1.15.2", version)
}
func TestConfig_TensorFlowModelPath(t *testing.T) {