1 Star 0 Fork 2

Finn/Bringing-Old-Photos-Back-to-Life

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
kubernetes-pod.yml 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hijak 提交于 2020-11-20 21:43 . Dockerfile and kubernetes example
apiVersion: v1
kind: Pod
metadata:
name: photo-back2life
spec:
containers:
- name: photos-back2life
image: <YOUR IMAGE>
volumeMounts:
- mountPath: /in
name: in-folder
- mountPath: /out
name: out-folder
command:
- python
- /app/run.py
args:
- --input_folder
- /in
- --output_folder
- /out
- --GPU
- '0'
- --with_scratch
resources:
limits:
memory: 4Gi
cpu: 0
nvidia.com/gpu: 1
volumes:
- name: in-folder
hostPath:
path: /srv/in
type: Directory
- name: out-folder
hostPath:
path: /srv/out
type: Directory
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/handlamp/bringing-old-photos-back-to-life.git
git@gitee.com:handlamp/bringing-old-photos-back-to-life.git
handlamp
bringing-old-photos-back-to-life
Bringing-Old-Photos-Back-to-Life
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385