05 2024 档案
摘要:上篇写了自动扣图 https://www.cnblogs.com/qcy-blog/p/18207984 这个适合把所有的东西扣出来 如果是只扣个头发之类的就不行了,推荐使用ComfyUI Segment Anything 地址 https://github.com/storyicon/comfyu
阅读全文
摘要:之前用yii2的时候框架封装的几个数组函数很好用,中间换了框架,把函数封装成了util <?php namespace app\utils; interface Arrayable { /** * Returns the list of fields that should be returned
阅读全文
摘要:上一篇写了人物抠图 https://www.cnblogs.com/qcy-blog/p/18207984 抠图模型上一篇已经安装了 工作流,导入并安装缺失节点,基础大模型选择一个自己喜欢的就好了 { "last_node_id": 41, "last_link_id": 65, "nodes":
阅读全文
摘要:很简单只需要一个模型 https://hf-mirror.com/frankminors123/U2Net_ONNX/tree/main 下载到ComfyUI\models\rembg目录下 工作流,下载缺失节点 {"last_node_id": 72, "last_link_id": 118, "
阅读全文
摘要:项目地址 https://github.com/InstantID/InstantID 克隆到本地,根据要求pip安装依赖 模型文件上篇文章讲了如何下载 https://www.cnblogs.com/qcy-blog/p/18202276 我用的windows,所以改了一下示例infer.py源码
阅读全文
摘要:地址 https://github.com/luosiallen/latent-consistency-model LCM「 全称 Latent Consistency Models(潜在一致性模型)」,是清华大学交叉信息科学研究院研发的一款生成模型。它的特点是可以通过少量步数(4-8 steps)
阅读全文
摘要:在线体验 https://huggingface.co/spaces/lllyasviel/IC-Light 国内可以用魔塔 https://modelscope.cn/studios/AI-ModelScope/IC-Light/summary ComfyUI IC-Light 原生插件: htt
阅读全文
摘要:ComfyUI-InstantID:https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID 进入 ComfyUI\custom_nodes git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID.
阅读全文
摘要:1:一般需要重启才会生效 2: 以修改环境变量"HF_HOME"为例,修改完成后,进入DOS命令提示符 输入:set PATH=C: 关闭DOS窗口 再次打开DOS窗口 输入:echo %HF_HOME% ,可以发现“我的电脑”->“属性”->“高级”->“环境变量”中设置的 PATH 值已经生效。
阅读全文
摘要:体验地址 https://huggingface.co/spaces/levihsu/OOTDiffusion 工作流,安装缺失节点,模型只能从haggingface自动下载,不需要手动下载 { "last_node_id": 10, "last_link_id": 8, "nodes": [ {
阅读全文
摘要:json {"last_node_id": 39, "last_link_id": 52, "nodes": [{"id": 30, "type": "CannyEdgePreprocessor", "pos": [420, 590], "size": [320, 110], "flags": {}
阅读全文
摘要:json { "last_node_id": 13, "last_link_id": 19, "nodes": [ { "id": 6, "type": "CLIPTextEncode", "pos": [ 415, 186 ], "size": { "0": 422.84503173828125,
阅读全文
摘要:lora是自带的,不需要安装插件 lora的模型放到 ComfyUI\models\loras
阅读全文
摘要:https://comfyanonymous.github.io/ComfyUI_examples/
阅读全文
摘要:模型地址国内下载 https://www.modelscope.cn/models/cjc1887415157/stable-video-diffusion-img2vid-xt-1-1/files 下载完放到 ComfyUI\models\checkpoints 工作流导入 https://pan
阅读全文
摘要:在大模型中,.safetensors、.ckpt、.gguf、.pth 和 .bin 文件都是用于保存和加载模型参数的文件格式,它们之间的区别和转换方式如下: .safetensors 文件: 这是 TensorFlow 2.x 中新增的文件格式,用于保存模型参数和优化器状态。 它采用的是 Tens
阅读全文
摘要:本来想用外挂SD模型的,但是由于这张盘是挂载的固态,命令行提示外挂成功,但是执行的时候老是报不在一个device。。。 地址 https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved 里面有很多示例,到时候直接拖进本地的comfyui的页面
阅读全文
摘要:ControlNet 是一个用于控制 AI 图像生成的插件。它使用了一种称为"Conditional Generative Adversarial Networks"(条件生成对抗网络) 的技术来生成图像。与传统的生成对抗网络不同,ControlNet 允许用户对生成的图像进行精细的控制。这使得 C
阅读全文
摘要:AnimateDiff插件下载链接地址: https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved 模型下载地址: https://huggingface.co/guoyww/animatediff/tree/main VideoHelpe
阅读全文
摘要:低配置劝退。。。 在线地址 https://gitcode.net/ranting8323/sd-webui-animatediff 在线安装 安装完重启 下载animatediff专用模型和8个镜头(可选) https://huggingface.co/guoyww/animatediff/tre
阅读全文
摘要:在线安装,https://gitcode.net/ranting8323/adetailer 这个地址是国内备份的,要比git快一点 安装后重启 下载模型,放到models\adetailer 地址 https://huggingface.co/Bingsu/adetailer/tree/main
阅读全文
摘要:1、全备脚本 #!/bin/bash BAK_DIR_ROOT="/mysql/backup" MYSQL_USERNAME="root" MYSQL_PASSWORD="root" MYSQL_CNF="/mysql/data/3306/my.cnf" BAK_FULL_DIR=$BAK_DIR_
阅读全文
摘要:LoRA模型全称是:Low-Rank Adaptation of Large Language Models 可以理解为Stable-Diffusion中的一个插件,仅需要少量的数据就可以进行训练的一种模型。 在生成图片时,LoRA模型会与大模型结合使用,从而实现对输出图片结果的调整。 我们举个更容
阅读全文
摘要:俗称外挂模型,主要用于光影,色彩方面的加强 比如最常见的vae-ft-mse-840000-ema-pruned 下载地址 https://huggingface.co/stabilityai/sd-vae-ft-mse-original/tree/main 在大型神经网络模型中,VAE指的是变分自
阅读全文
摘要:embedding就是魔法卷轴,别人把魔法阵刻上去你直接激活就能用,不用念长长的咒语了
阅读全文
摘要:地址 https://pan.baidu.com/s/1RUTHPvXoPttJVrzbua9nbA?pwd=jl78 pwd jl78
阅读全文
摘要:nsfw,(worst quality, low quality:2),zombie,overexposure,text,bad anatomy,extra hands,((extra fingers)),too many fingers,fused fingers,((bad fingers)),
阅读全文
摘要:main.go package main import ( "context" "errors" "fmt" "time" "golang.org/x/sync/errgroup" ) func task1(ctx context.Context) error { fmt.Println("Task
阅读全文
摘要:参考b站大佬 https://www.bilibili.com/video/BV1jJ4m1j7gK/?spm_id_from=333.788&vd_source=7e624c7a17d4407088aae9cb33e5e0aa 开始 mkdir deploy-scaler cd deploy-sc
阅读全文
摘要:源码地址 https://github.com/GaParmar/img2img-turbo 在线体验地址 https://huggingface.co/spaces/gparmar/img2img-turbo-sketch 安装 git clone https://github.com/GaPar
阅读全文
摘要:之前有安装教程 https://www.cnblogs.com/qcy-blog/p/18175031 进到ComfyUI\custom_nodes目录 克隆https://github.com/ltdrdata/ComfyUI-Manager源码到ComfyUI\custom_nodes下 然后进
阅读全文
摘要:简单版 [log] level = "debug" filename = "data.log" dir = "runtime/logs/" maxsize = 1024 max_age = 10 max_backups = 10 [log.error] filename = "error.log"
阅读全文
摘要:确保 kubeconfig 文件 ~/.kube/config 存在,并且内容正确 如果是k3s参考我之前的文章 https://www.cnblogs.com/qcy-blog/p/18188865 1. Operator 是什么? Operator 是使用自定义资源(CR,Custom Reso
阅读全文
摘要:在K3s安装的集群上,kubeconfig文件通常位于服务器的 /etc/rancher/k3s/k3s.yaml 路径下。这个文件包含了连接到Kubernetes集群所需的配置信息,包括集群的服务器地址、CA证书、用户凭证等。 找到kubeconfig文件:登录到K3s服务器,检查 /etc/ra
阅读全文
摘要:二进制包地址 https://github.com/kubernetes-sigs/kustomize/releases 选择平台和版本,下载并添加到环境变量 如果是 Windows,可以通过控制面板中的系统设置来编辑环境变量,然后将 kustomize 二进制文件的目录路径添加到 PATH 中。
阅读全文
摘要:获取安装包,wget 后面的下载链接请去golang官网(https://golang.google.cn/dl/)获取你想下载的对应go版本 sudo wget https://golang.google.cn/dl/go1.18.5.linux-amd64.tar.gz # 解压文件 sudo
阅读全文
摘要:安装依赖参考上篇文章 https://www.cnblogs.com/qcy-blog/p/18186353 新建main.py from modelscope.pipelines import pipeline from modelscope.outputs import OutputKeys p
阅读全文
摘要:模型地址 https://www.modelscope.cn/models/langboat/Guohua-Diffusion/summary 新建一个main.py from modelscope.utils.constant import Tasks from modelscope.pipeli
阅读全文
摘要:抽了半天时间学了一下fastapi,为了方便,代码没分结构。 import sys import jwt from pydantic import BaseModel import uvicorn,asyncio,signal,os from fastapi import FastAPI, HTTP
阅读全文
摘要:报LFS错 错误1 WARNING: Authentication error: Authentication required: LFS only supported repository in paid enterprise. 错误2 batch response: LFS only suppo
阅读全文
摘要:*mysql的简单的分表分库原理 1、中间变量 = user_id%(库数量*每个库的表数量); 2、库序号 = 取整(中间变量/每个库的表数量); 3、表序号 = 中间变量%每个库的表数量; 例如:数据库有256 个,每一个库中有1024个数据表,用户的user_id=262145,按照上述的路由
阅读全文
摘要:AI换脸Facefusion整合包下载 百度网盘链接: https://pan.baidu.com/s/1zH-T_5IMv7HBg8V6THsO5A?pwd=m3n9 提取码: m3n9 夸克网盘链接:https://pan.quark.cn/s/81b90f4a89a6 提取码:TNN3
阅读全文
摘要:我用的老版本的gui,所以跟新版本估计有偏差。但是安装方式一样 地址 https://github.com/Hillobar/Rope/tree/main 要先安装ffmpeg https://www.cnblogs.com/qcy-blog/p/18173656 安装Rope,先克隆到本地 con
阅读全文
摘要:地址 https://github.com/HVision-NKU/StoryDiffusion 安装 conda create -n storydiff python==3.11.0 conda activate storydiff # 修改一下 requirements.txt gradio==
阅读全文
摘要:地址 https://download.pytorch.org/whl/torch_stable.html 选择自己电脑对应的gpu版本 下载完执行 pip install "E:\download\torch-2.2.1+cu121-cp311-cp311-win_amd64.whl"
阅读全文
摘要:https://github.com/hiddify/hiddify-next https://github.com/Pawdroid/Free-servers https://githubtool.com/index.php/archives/57/ https://github.com/free
阅读全文
摘要:安装对应版本的xformers https://github.com/facebookresearch/xformers#installing-xformers pip install -U xformers --index-url https://download.pytorch.org/whl/
阅读全文
摘要:官网 https://github.com/AUTOMATIC1111/stable-diffusion-webui 免python版本 https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre 先
阅读全文
摘要:魔法在线体验地址 https://supir.xpixel.group/ 有人基于SUPIR封装了ComfyUI的节点,可以让我们更方便地使用模型 https://github.com/kijai/ComfyUI-SUPIR 安装 ComfyUI 方式1:集成包 https://github.com
阅读全文
摘要:官网 https://ffmpeg.org/download.html 这个是别人已经编译好的,不染源码还需要重新编译 解压到一个目录,添加到环境变量
阅读全文
摘要:坑1 huggingface_hub连不上,可以用hf-mirror先把模型下载下来。具体可以参考我的上一篇文章 https://www.cnblogs.com/qcy-blog/p/18165717 下载 M4869/WavMark,在【xxx\Lib\site-packages\wavmark_
阅读全文
摘要:git地址 https://github.com/myshell-ai/OpenVoice 安装 conda create -n openvoice python=3.9 conda activate openvoice git clone git@github.com:myshell-ai/Ope
阅读全文

浙公网安备 33010602011771号