5 Star 9 Fork 6

cambriconknight/cnstream-docker-image

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
env.sh 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
kang 提交于 2022-11-27 01:55 . update for SDK-1.7.610
# -------------------------------------------------------------------------------
# Filename: env.sh
# Revision: 1.2.0
# Date: 2022/11/26
# Description: Common Environment variable
# Example:
# Depends:
# Notes:
# -------------------------------------------------------------------------------
#################### version ####################
## 以下信息,根据各个版本中文件实际名词填写.
#Version
VER="1.7.610"
#Neuware SDK For MLU270(依操作系统选择)
FILENAME_CNToolkit="cntoolkit_1.7.14-1.ubuntu18.04_amd64.deb"
FILENAME_CNCV="cncv_0.4.606-1.ubuntu18.04_amd64.deb"
#################### docker ####################
#Work
PATH_WORK="cnstream"
#Dockerfile(16.04/18.04/CentOS)
TYPE_DOCKERFILE="18.04"
#(Dockerfile.16.04/Dockerfile.18.04/Dockerfile.CentOS)
FILENAME_DOCKERFILE="Dockerfile.$TYPE_DOCKERFILE"
DIR_DOCKER="docker"
#Version
VERSION="v${VER}"
#VERSION="v${VER}"
#VERSION="iva-1.6.106"
#Organization
ORG="kang"
#Operating system
OS="ubuntu18.04"
#Docker image(cam/ubuntu16.04-$PATH_WORK)
MY_IMAGE="$ORG/$OS-$PATH_WORK"
#Docker image name(cam/ubuntu16.04-$PATH_WORK:v1.6.0)
NAME_IMAGE="$MY_IMAGE:$VERSION"
#FileName DockerImage(image-ubuntu16.04-$PATH_WORK-v1.6.0.tar.gz)
FILENAME_IMAGE="image-$OS-$PATH_WORK-$VERSION.tar.gz"
FULLNAME_IMAGE="./docker/${FILENAME_IMAGE}"
#Docker container name(container-ubuntu16.04-caffe-v1.6.0)
MY_CONTAINER="container-$OS-$PATH_WORK-$VERSION"
#################### color ####################
#Font color
none="\033[0m"
black="\033[0;30m"
dark_gray="\033[1;30m"
blue="\033[0;34m"
light_blue="\033[1;34m"
green="\033[0;32m"
light_green="\033[1;32m"
cyan="\033[0;36m"
light_cyan="\033[1;36m"
red="\033[0;31m"
light_red="\033[1;31m"
purple="\033[0;35m"
light_purple="\033[1;35m"
brown="\033[0;33m"
yellow="\033[1;33m"
light_gray="\033[0;37m"
white="\033[1;37m"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cambriconknight/cnstream-docker-image.git
git@gitee.com:cambriconknight/cnstream-docker-image.git
cambriconknight
cnstream-docker-image
cnstream-docker-image
master

搜索帮助