1 Star 0 Fork 3

王刚克 / Kornia

forked from Gitee 极速下载 / Kornia 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
path.bash.inc 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jirka Borovec 提交于 2021-05-31 10:23 . add precommit (#1038)
# The purpose of this script is simplify running scripts inside of our
# dev_env docker container. It mounts the workspace and the
# workspace/../build directory inside of the container, and executes
# any arguments passed to the dev_env.sh
script_link="$( readlink "$BASH_SOURCE" )" || script_link="$BASH_SOURCE"
apparent_sdk_dir="${script_link%/*}"
if [ "$apparent_sdk_dir" = "$script_link" ]; then
apparent_sdk_dir=.
fi
sdk_dir="$(cd -P "$apparent_sdk_dir" > /dev/null && pwd -P )"
if [ ! -e $sdk_dir/.dev_env/bin/conda ]; then
$sdk_dir/setup_dev_env.sh
fi
cmd="source $sdk_dir/.dev_env/bin/activate $sdk_dir/.dev_env/envs/venv"
if [ -z $CI ]; then
eval $cmd
else
echo $cmd >> "$BASH_ENV"
fi
export PYTHONPATH=$PYTHONPATH:$sdk_dir
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wang-gangke/Kornia.git
git@gitee.com:wang-gangke/Kornia.git
wang-gangke
Kornia
Kornia
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891