1 Star 0 Fork 2

Joe/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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li_qiao9608/Bringing-Old-Photos-Back-to-Life.git
git@gitee.com:li_qiao9608/Bringing-Old-Photos-Back-to-Life.git
li_qiao9608
Bringing-Old-Photos-Back-to-Life
Bringing-Old-Photos-Back-to-Life
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385