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
c25e3e01
Commit
c25e3e01
authored
Mar 13, 2020
by
Chen Chen
Committed by
A. Unique TensorFlower
Mar 13, 2020
Browse files
Internal Change
PiperOrigin-RevId: 300796559
parent
5a423a2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
official/pip_package/setup.py
official/pip_package/setup.py
+18
-2
No files found.
official/pip_package/setup.py
View file @
c25e3e01
...
...
@@ -13,12 +13,28 @@
# limitations under the License.
# ==============================================================================
"""Sets up TensorFlow Official Models."""
import
datetime
import
sys
from
setuptools
import
find_packages
from
setuptools
import
setup
version
=
'2.1.0.dev2'
project_name
=
'tf-models-official'
if
'--project_name'
in
sys
.
argv
:
project_name_idx
=
sys
.
argv
.
index
(
'--project_name'
)
project_name
=
sys
.
argv
[
project_name_idx
+
1
]
sys
.
argv
.
remove
(
'--project_name'
)
sys
.
argv
.
pop
(
project_name_idx
)
if
project_name
==
'tf-models-nightly'
:
version
+=
'.'
+
datetime
.
datetime
.
now
().
strftime
(
'%Y%m%d%H%M'
)
setup
(
name
=
'tf-models-official'
,
version
=
'0.0.3.dev1'
,
name
=
project_name
,
version
=
version
,
description
=
'TensorFlow Official Models'
,
author
=
'Google Inc.'
,
author_email
=
'no-reply@google.com'
,
...
...
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