代码拉取完成,页面将自动刷新
# Check tensorflow version.
MAX_VERSION=1.14
VALID_TF_VERSION=$(python -c "import tensorflow as tf; from pkg_resources import parse_version; print(parse_version(tf.VERSION) < parse_version('$MAX_VERSION'))")
if [ $VALID_TF_VERSION != "True" ]; then
TF_VERSION=$(python -c "import tensorflow as tf; print(tf.VERSION)")
echo "Version $TF_VERSION too new, must be < $MAX_VERSION"
fi
GIT_BRANCH=$(git branch | sed -n '/\* /s///p')
echo "*** git branch for auto_yolo 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
cd ..
pip install -r requirements.txt
pip install -e .
cd auto_yolo/tf_ops/render_sprites/
make
cd ../resampler_edge
make
cd ../../..
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。