mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Config: Change the expected TensorFlow version back to 1.15.2
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
2
Makefile
2
Makefile
@@ -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)
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user