Skip to content

Commit 734ff91

Browse files
Johannes Ballécopybara-github
authored andcommitted
Adds note which version of TFC is required for each model.
PiperOrigin-RevId: 349240922 Change-Id: I9551442b5ec5f8225896bbecffb646431c37a512
1 parent 312df2b commit 734ff91

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

models/bls2017.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
own experiments. To reproduce the exact results from the paper, tuning of hyper-
2727
parameters may be necessary. To compress images with published models, see
2828
`tfci.py`.
29+
30+
Currently, this script requires tensorflow-compression v1.3.
2931
"""
3032

3133
import argparse

models/bmshj2018.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
own experiments. To reproduce the exact results from the paper, tuning of hyper-
2525
parameters may be necessary. To compress images with published models, see
2626
`tfci.py`.
27+
28+
Currently, this script requires tensorflow-compression v1.3.
2729
"""
2830

2931
import argparse

models/ms2020.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
own experiments. To reproduce the exact results from the paper, tuning of hyper-
2525
parameters may be necessary. To compress images with published models, see
2626
`tfci.py`.
27+
28+
This script requires tensorflow-compression v2.x.
2729
"""
2830

2931
import argparse

models/tfci.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
1717
Use this script to compress images with pre-trained models as published. See the
1818
'models' subcommand for a list of available models.
19+
20+
Currently, this script requires tensorflow-compression v1.3.
1921
"""
2022

2123
import argparse

models/toy_sources/toy_sources.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"\n",
2121
"\u003e \"Neural Networks Optimally Compress the Sawbridge\"\u003cbr /\u003e\n",
2222
"\u003e A. B. Wagner, J. Ballé\u003cbr /\u003e\n",
23-
"\u003e https://arxiv.org/abs/2011.05065\n"
23+
"\u003e https://arxiv.org/abs/2011.05065\n",
24+
"\n",
25+
"This code requires tensorflow-compression v2.x.\n"
2426
]
2527
},
2628
{

0 commit comments

Comments
 (0)