Skip to content

Commit a42ecff

Browse files
authored
Fix keras & translate (#1339)
http://b/315458381 http://b/315753846
1 parent 2ac180a commit a42ecff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ RUN pip install annoy \
403403
google-cloud-bigquery \
404404
google-cloud-storage && \
405405
# Split these installations to avoid `pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000`
406-
pip install google-cloud-translate==3.* \
406+
# TODO(b/315753846) Unpin translate package.
407+
pip install google-cloud-translate==3.12.1 \
407408
google-cloud-language==2.* \
408409
google-cloud-videointelligence==2.* \
409410
google-cloud-vision==2.* \

tests/test_keras_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import os
55

6-
os.environ["KERAS_BACKEND"] = "jax"
6+
os.environ["KERAS_BACKEND"] = "tensorflow"
77

88
# Note that keras_core should only be imported after the backend
99
# has been configured. The backend cannot be changed once the

0 commit comments

Comments
 (0)