Skip to content

Commit

Permalink
Fix keras & translate (#1339)
Browse files Browse the repository at this point in the history
http://b/315458381
http://b/315753846
  • Loading branch information
Philmod authored Dec 11, 2023
1 parent 2ac180a commit a42ecff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ RUN pip install annoy \
google-cloud-bigquery \
google-cloud-storage && \
# Split these installations to avoid `pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000`
pip install google-cloud-translate==3.* \
# TODO(b/315753846) Unpin translate package.
pip install google-cloud-translate==3.12.1 \
google-cloud-language==2.* \
google-cloud-videointelligence==2.* \
google-cloud-vision==2.* \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_keras_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
import os

os.environ["KERAS_BACKEND"] = "jax"
os.environ["KERAS_BACKEND"] = "tensorflow"

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

0 comments on commit a42ecff

Please sign in to comment.