1 Star 0 Fork 0

liuqiang123456789/silot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
Eric Crawford 提交于 2020-06-18 11:28 . Updated README.md and install.sh
set -e
TF_VERSION_UPPER_BOUND=1.14
VALID_TF_VERSION=$(python -c "import tensorflow as tf; from pkg_resources import parse_version; print(parse_version(tf.VERSION) < parse_version('$TF_VERSION_UPPER_BOUND'))")
if [ $VALID_TF_VERSION != "True" ]; then
TF_VERSION=$(python -c "import tensorflow as tf; print(tf.VERSION)")
echo "tensorflow version $TF_VERSION too new, must be < $TF_VERSION_UPPER_BOUND. See README.md for explanation."
exit
fi
GIT_BRANCH=$(git branch | sed -n '/\* /s///p')
echo "*** git branch for silot is <"$GIT_BRANCH">."
# Install dps
echo "*** Installing dps on branch "$GIT_BRANCH
git clone https://github.com/e2crawfo/dps.git
cd dps
git checkout "$GIT_BRANCH"
echo "*** git branch for dps is <"$GIT_BRANCH">."
pip install -r requirements.txt
pip install -e .
# Install auto_yolo, and custom tf op "render_sprites"
echo "*** Installing auto_yolo on branch "$GIT_BRANCH
cd ../
git clone https://github.com/e2crawfo/auto_yolo.git
cd auto_yolo
git checkout "$GIT_BRANCH"
echo "*** git branch for auto_yolo is <"$GIT_BRANCH">."
pip install -r requirements.txt
pip install -e .
cd auto_yolo/tf_ops/render_sprites/
make
cd ../resampler_edge
make
cd ../../../
# Optional: install fork of SQAIR.
echo "*** Installing sqair on branch "$GIT_BRANCH
cd ../
git clone https://github.com/e2crawfo/sqair.git
cd sqair
git checkout "$GIT_BRANCH"
echo "*** git branch for sqair is <"$GIT_BRANCH">."
pip install -r requirements.txt
pip install -e .
# Install silot
cd ../
pip install -r requirements.txt
pip install -e .
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liuqiang123456789/silot.git
git@gitee.com:liuqiang123456789/silot.git
liuqiang123456789
silot
silot
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385