1 Star 0 Fork 0

sd-comfy/ComfyUI-BiRefNet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
debug.ipynb 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
viperyl 提交于 1年前 . init this repo
from PIL import Image
import numpy as np
import cv2
img = Image.open("/data/ssd1/tmp/meihup_facedata/571a7061-f2c6-4e6b-ad0e-a7ca72f8f2ea.png")
img = np.array(img)
img = img /255
img.shape
(1080, 1080, 3)
a = cv2.resize(img, (1024, 1024))
a.shape
(1024, 1024, 3)
img.shape
(1080, 1080, 3)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sd-comfy/ComfyUI-BiRefNet.git
git@gitee.com:sd-comfy/ComfyUI-BiRefNet.git
sd-comfy
ComfyUI-BiRefNet
ComfyUI-BiRefNet
main

搜索帮助