Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
50905fd2
Commit
50905fd2
authored
May 25, 2021
by
A. Unique TensorFlower
Browse files
Removing tensorflow recommenders library from requirement.txt.
PiperOrigin-RevId: 375826079
parent
cda3bca5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
7 deletions
+20
-7
official/recommendation/ranking/README.md
official/recommendation/ranking/README.md
+18
-4
official/requirements.txt
official/requirements.txt
+0
-1
official/utils/testing/scripts/presubmit.sh
official/utils/testing/scripts/presubmit.sh
+2
-2
No files found.
official/recommendation/ranking/README.md
View file @
50905fd2
...
@@ -25,16 +25,30 @@ library, while input pipeline, configuration and training loop is here.
...
@@ -25,16 +25,30 @@ library, while input pipeline, configuration and training loop is here.
## Prerequisites
## Prerequisites
To get started, download the code from TensorFlow models GitHub repository or
To get started, download the code from TensorFlow models GitHub repository or
use the pre-installed Google Cloud VM. We also need to install
[
TensorFlow
use the pre-installed Google Cloud VM.
Recommenders
](
https://www.tensorflow.org/recommenders
)
library.
```
bash
```
bash
git clone https://github.com/tensorflow/models.git
git clone https://github.com/tensorflow/models.git
pip
install
tensorflow-recommenders
export
PYTHONPATH
=
$PYTHONPATH
:
$(
pwd
)
/models
export
PYTHONPATH
=
$PYTHONPATH
:
$(
pwd
)
/models
```
```
Make sure to use TensorFlow 2.4+.
We also need to install
[
TensorFlow Recommenders
](
https://www.tensorflow.org/recommenders
)
library.
If you are using
[
tf-nightly
](
https://pypi.org/project/tf-nightly/
)
make
sure to install
[
tensorflow-recommenders
](
https://pypi.org/project/tensorflow-recommenders/
)
without its dependancies by passing
`--no-deps`
argument.
For tf-nightly:
```
bash
pip
install
tensorflow-recommenders
--no-deps
```
For stable TensorFlow 2.4+
[
releases
](
https://pypi.org/project/tensorflow/
)
:
```
bash
pip
install
tensorflow-recommenders
```
## Dataset
## Dataset
...
...
official/requirements.txt
View file @
50905fd2
...
@@ -12,7 +12,6 @@ tensorflow-hub>=0.6.0
...
@@ -12,7 +12,6 @@ tensorflow-hub>=0.6.0
tensorflow-model-optimization>=0.4.1
tensorflow-model-optimization>=0.4.1
tensorflow-datasets
tensorflow-datasets
tensorflow-addons
tensorflow-addons
tensorflow-recommenders>=0.5.0
dataclasses;python_version<"3.7"
dataclasses;python_version<"3.7"
gin-config
gin-config
tf_slim>=1.1.0
tf_slim>=1.1.0
...
...
official/utils/testing/scripts/presubmit.sh
View file @
50905fd2
...
@@ -31,8 +31,8 @@ py_test() {
...
@@ -31,8 +31,8 @@ py_test() {
local
exit_code
=
0
local
exit_code
=
0
echo
"===========Running Python test============"
echo
"===========Running Python test============"
# Skipping Ranking tests, TODO(b/189265753) remove it once the issue is fixed.
for
test_file
in
`
find official/
-name
'*test.py'
-print
`
for
test_file
in
`
find official/
-name
'*test.py'
-print
|
grep
-v
'official/recommendation/ranking'
`
do
do
echo
"####=======Testing
${
test_file
}
=======####"
echo
"####=======Testing
${
test_file
}
=======####"
${
PY_BINARY
}
"
${
test_file
}
"
${
PY_BINARY
}
"
${
test_file
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment