[go: nahoru, domu]

Skip to content

Commit

Permalink
Update tensorflow-related packages to tf2.9 version.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 506015220
  • Loading branch information
anastasiyabl authored and Copybara-Service committed Jan 31, 2023
1 parent b403905 commit ad16825
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion install-gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ echo "$(pip --version)"
# Install python packages used by DeepConsensus.
################################################################################
python3 -m pip install --user -r requirements.txt
python3 -m pip install --user "tensorflow-gpu>=2.11.0"
python3 -m pip install --user "tensorflow-gpu==2.9.1"
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ echo "$(pip --version)"
# Install python packages used by DeepConsensus.
################################################################################
python3 -m pip install --user -r requirements.txt
python3 -m pip install --user "intel-tensorflow>=2.11.0"
python3 -m pip install --user "intel-tensorflow==2.9.1"
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# incompatible when flexible versioning is used.
# DeepConsensus should be used in a dedicated python virtualenv.
pandas==1.5.1
tf-models-official==2.11.0
tf-models-official==2.9.1
pyyaml==5.4.1 # because of tf-models-official
ml_collections==0.1.1
absl-py==1.0.0
keras==2.11.0
keras==2.9.0
pysam==0.19.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
REQUIREMENTS = (here / 'requirements.txt').read_text().splitlines()
EXTRA_REQUIREMENTS = {
# Use '==' to pin the versions.
'cpu': ['intel-tensorflow==2.11.0'],
'gpu': ['tensorflow-gpu==2.11.0']
'cpu': ['intel-tensorflow==2.9.1'],
'gpu': ['tensorflow-gpu==2.9.1']
}


Expand Down

0 comments on commit ad16825

Please sign in to comment.