上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页
摘要: 安装依赖参考上篇文章 https://www.cnblogs.com/qcy-blog/p/18186353 新建main.py from modelscope.pipelines import pipeline from modelscope.outputs import OutputKeys p 阅读全文
posted @ 2024-05-11 14:16 朝阳1 阅读(80) 评论(0) 推荐(0)
摘要: 模型地址 https://www.modelscope.cn/models/langboat/Guohua-Diffusion/summary 新建一个main.py from modelscope.utils.constant import Tasks from modelscope.pipeli 阅读全文
posted @ 2024-05-11 13:48 朝阳1 阅读(104) 评论(0) 推荐(0)
摘要: 抽了半天时间学了一下fastapi,为了方便,代码没分结构。 import sys import jwt from pydantic import BaseModel import uvicorn,asyncio,signal,os from fastapi import FastAPI, HTTP 阅读全文
posted @ 2024-05-11 09:42 朝阳1 阅读(120) 评论(0) 推荐(0)
摘要: 报LFS错 错误1 WARNING: Authentication error: Authentication required: LFS only supported repository in paid enterprise. 错误2 batch response: LFS only suppo 阅读全文
posted @ 2024-05-11 09:29 朝阳1 阅读(646) 评论(0) 推荐(0)
摘要: *mysql的简单的分表分库原理 1、中间变量 = user_id%(库数量*每个库的表数量); 2、库序号 = 取整(中间变量/每个库的表数量); 3、表序号 = 中间变量%每个库的表数量; 例如:数据库有256 个,每一个库中有1024个数据表,用户的user_id=262145,按照上述的路由 阅读全文
posted @ 2024-05-10 09:46 朝阳1 阅读(34) 评论(0) 推荐(0)
摘要: AI换脸Facefusion整合包下载 百度网盘链接: https://pan.baidu.com/s/1zH-T_5IMv7HBg8V6THsO5A?pwd=m3n9 提取码: m3n9 夸克网盘链接:https://pan.quark.cn/s/81b90f4a89a6 提取码:TNN3 阅读全文
posted @ 2024-05-08 15:45 朝阳1 阅读(1270) 评论(0) 推荐(0)
摘要: 我用的老版本的gui,所以跟新版本估计有偏差。但是安装方式一样 地址 https://github.com/Hillobar/Rope/tree/main 要先安装ffmpeg https://www.cnblogs.com/qcy-blog/p/18173656 安装Rope,先克隆到本地 con 阅读全文
posted @ 2024-05-08 15:38 朝阳1 阅读(134) 评论(0) 推荐(0)
摘要: 地址 https://github.com/HVision-NKU/StoryDiffusion 安装 conda create -n storydiff python==3.11.0 conda activate storydiff # 修改一下 requirements.txt gradio== 阅读全文
posted @ 2024-05-08 14:37 朝阳1 阅读(225) 评论(0) 推荐(0)
摘要: 地址 https://download.pytorch.org/whl/torch_stable.html 选择自己电脑对应的gpu版本 下载完执行 pip install "E:\download\torch-2.2.1+cu121-cp311-cp311-win_amd64.whl" 阅读全文
posted @ 2024-05-08 14:24 朝阳1 阅读(421) 评论(0) 推荐(0)
摘要: 安装对应版本的xformers https://github.com/facebookresearch/xformers#installing-xformers pip install -U xformers --index-url https://download.pytorch.org/whl/ 阅读全文
posted @ 2024-05-07 15:16 朝阳1 阅读(912) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 49 下一页