-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged commit includes the following changes:
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
@@ -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', | ||
|
@@ -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 | ||
|