1 Star 0 Fork 0

通天能力群/IOPaint

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_docker.sh 1009 Bytes
一键复制 编辑 原始数据 按行查看 历史
Qing 提交于 2022-11-01 09:09 . update Dockerfile
#!/usr/bin/env bash
set -e
GIT_TAG=$1
IMAGE_DESC="Image inpainting tool powered by SOTA AI Model"
GIT_REPO="https://github.com/Sanster/lama-cleaner"
echo "Building cpu docker image..."
docker buildx build \
--file ./docker/CPUDockerfile \
--label org.opencontainers.image.title=lama-cleaner \
--label org.opencontainers.image.description="$IMAGE_DESC" \
--label org.opencontainers.image.url=$GIT_REPO \
--label org.opencontainers.image.source=$GIT_REPO \
--label org.opencontainers.image.version=$GIT_TAG \
--build-arg version=$GIT_TAG \
--tag lama-cleaner:cpu-$GIT_TAG .
echo "Building NVIDIA GPU docker image..."
docker buildx build \
--file ./docker/GPUDockerfile \
--label org.opencontainers.image.title=lama-cleaner \
--label org.opencontainers.image.description="$IMAGE_DESC" \
--label org.opencontainers.image.url=$GIT_REPO \
--label org.opencontainers.image.source=$GIT_REPO \
--label org.opencontainers.image.version=$GIT_TAG \
--build-arg version=$GIT_TAG \
--tag lama-cleaner:gpu-$GIT_TAG .
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/heavenly-ability-group/IOPaint.git
[email protected]:heavenly-ability-group/IOPaint.git
heavenly-ability-group
IOPaint
IOPaint
0114

搜索帮助