1 Star 0 Fork 3

wangpei/PhotoMaker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cog.yaml 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yorick 提交于 2024-01-20 14:20 +08:00 . Update replicate code and readme (#73)
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
# set to true if your model requires a GPU
gpu: true
# python version in the form '3.11' or '3.11.4'
python_version: "3.11"
python_packages:
- "accelerate==0.26.1"
- "diffusers==0.25.0"
- "huggingface-hub==0.20.2"
- "numpy==1.24.4"
- "omegaconf==2.3.0"
- "peft==0.7.1"
- "safetensors==0.4.1"
- "torch==2.1.1"
- "torchvision==0.16.1"
- "transformers==4.36.2"
run:
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.5.6/pget_linux_x86_64" && chmod +x /usr/local/bin/pget
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"
image: r8.im/tencentarc/photomaker
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/objectabc/PhotoMaker.git
git@gitee.com:objectabc/PhotoMaker.git
objectabc
PhotoMaker
PhotoMaker
main

搜索帮助