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
974c463e
Commit
974c463e
authored
Jul 14, 2020
by
Kaushik Shivakumar
Browse files
setup
parent
d56d51d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
research/setup.py
research/setup.py
+19
-5
No files found.
research/setup.py
View file @
974c463e
"""Setup script for object_detection."""
"""Setup script for object_detection
with TF2.0
."""
import
os
from
setuptools
import
find_packages
from
setuptools
import
find_packages
from
setuptools
import
setup
from
setuptools
import
setup
# Note: adding apache-beam to required packages causes conflict with
REQUIRED_PACKAGES
=
[
'Pillow>=1.0'
,
'Matplotlib>=2.1'
,
'Cython>=0.28.1'
]
# tf-models-offical requirements. These packages request for incompatible
# oauth2client package.
REQUIRED_PACKAGES
=
[
'pillow'
,
'lxml'
,
'matplotlib'
,
'Cython'
,
'contextlib2'
,
'tf-slim'
,
'six'
,
'pycocotools'
,
'scipy'
,
'pandas'
,
'tf-models-official'
]
setup
(
setup
(
name
=
'object_detection'
,
name
=
'object_detection'
,
version
=
'0.1'
,
version
=
'0.1'
,
install_requires
=
REQUIRED_PACKAGES
,
install_requires
=
REQUIRED_PACKAGES
,
include_package_data
=
True
,
include_package_data
=
True
,
packages
=
[
p
for
p
in
find_packages
()
if
p
.
startswith
(
'object_detection'
)],
packages
=
(
[
p
for
p
in
find_packages
()
if
p
.
startswith
(
'object_detection'
)]
+
find_packages
(
where
=
os
.
path
.
join
(
'.'
,
'slim'
))),
package_dir
=
{
'datasets'
:
os
.
path
.
join
(
'slim'
,
'datasets'
),
'nets'
:
os
.
path
.
join
(
'slim'
,
'nets'
),
'preprocessing'
:
os
.
path
.
join
(
'slim'
,
'preprocessing'
),
'deployment'
:
os
.
path
.
join
(
'slim'
,
'deployment'
),
'scripts'
:
os
.
path
.
join
(
'slim'
,
'scripts'
),
},
description
=
'Tensorflow Object Detection Library'
,
description
=
'Tensorflow Object Detection Library'
,
python_requires
=
'>3.6'
,
)
)
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