Skip to content

Commit

Permalink
Merged commit includes the following changes:
Browse files Browse the repository at this point in the history
522740617  by Waymo Research:

    Fix install_deeplab2.sh to actually install all modules.

--

PiperOrigin-RevId: 522740617
  • Loading branch information
Waymo Research authored and Alexander Gorban committed Apr 8, 2023
1 parent 9475cd1 commit 576f635
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/waymo_open_dataset/pip_pkg_scripts/install_deeplab2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
# ==============================================================================

srcs=(
'data/dataset.py',
'data/ade20k_constants.py',
'data/waymo_constants.py',
'__init__.py'
'data/dataset.py'
'data/__init__.py'
'data/ade20k_constants.py'
'data/waymo_constants.py'
'evaluation/__init__.py'
'evaluation/segmentation_and_tracking_quality.py'
)
base_url='https://raw.githubusercontent.com/google-research/deeplab2/main'
Expand All @@ -27,11 +30,11 @@ set -x -e

mkdir -p "${src_dir}/deeplab2/data" "${src_dir}/deeplab2/evaluation"
for path in "${srcs[@]}"; do
wget "${base_url}/${path}" -o "${src_dir}/deeplab2/${path}"
wget "${base_url}/${path}" -O "${src_dir}/deeplab2/${path}"
done

cat << EOF > "${src_dir}/setup.py"
from setuptools import setup
from setuptools import setup, find_packages
setup(name='deeplab2-for-wod',
version='0.0.1',
Expand All @@ -40,7 +43,7 @@ setup(name='deeplab2-for-wod',
author='Waymo Open Dataset Authors',
author_email='[email protected]',
license='Apache License 2.0',
packages=['deeplab2'],
packages=find_packages(),
zip_safe=False
)
EOF
Expand Down

0 comments on commit 576f635

Please sign in to comment.