Skip to content

Commit 2d57e71

Browse files
committed
提交博客信息
1 parent 6aeac8b commit 2d57e71

10 files changed

+2082
-195
lines changed

source/_posts/ai/AI大模型.md

Lines changed: 1098 additions & 0 deletions
Large diffs are not rendered by default.

source/_posts/ai/StableDiffusion笔记记录.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: StableDiffusion入门
3-
date: 2024-12-30 19:07:05
4-
updated: 2024-12-30 19:07:05
3+
date: 2025-03-25 09:29
4+
updated: 2025-03-25 09:29
55
tags:
66
- SD
77
- AI
88
comments: true
99
categories:
1010
- AI
11-
thumbnail: "https://cdn.jsdelivr.net/gh/hackerHiJu/note-picture@main/note-picture/%25E5%25A4%25A9%25E7%25A9%25BA.png"
11+
thumbnail: https://cdn.jsdelivr.net/gh/hackerHiJu/note-picture@main/note-picture/%25E5%25A4%25A9%25E7%25A9%25BA.png
1212
---
1313

1414
# 1. 部署SD
@@ -110,7 +110,7 @@ stable-diffusion-webui-rembg:非常强大的抠图功能
110110
111111
相同的参数设定下静态的预设比动态的预设性能更高显存占用更低
112112
113-
![image-20240318212229709|1570x625](https://cdn.jsdelivr.net/gh/hackerHiJu/note-picture@main/note-picture/image-20240318212229709.png)
113+
![image-20240318212229709](https://cdn.jsdelivr.net/gh/hackerHiJu/note-picture@main/note-picture/image-20240318212229709.png)
114114
115115
- 512 x 512 | Batch Size1(Static)
116116
- static表示所有的参数都是固定的,每批的数量数,还有最优的高度和最高的宽度,所有的都固定了

source/_posts/java/分布式/1.elasticsearch基础入门.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

source/_posts/java/多线程/7.并发工具类.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

source/_posts/java/多线程/8.Java并发基础知识.md

Lines changed: 0 additions & 87 deletions
This file was deleted.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: GitHub+Typora+PicGo实现图片自动上传入门
3+
date: 2024-12-30 19:07:05
4+
updated: 2024-12-30 19:07:05
5+
tags:
6+
- TOOLS
7+
comments: true
8+
categories:
9+
- TOOLS
10+
thumbnail: "https://cdn.jsdelivr.net/gh/hackerHiJu/note-picture@main/note-picture/%25E5%25A4%25A9%25E7%25A9%25BA.png"
11+
---
12+
13+
# 1. 创建Github图床
14+
15+
## 1.1 创建仓库
16+
17+
创建一个github的仓库名字叫 **note-picture** ,访问权限设置为 **public** 公共访问不然图片访问不了
18+
19+
## 1.2 创建私钥
20+
21+
打开 **settings --> Developer settings --> personal access tokens** 创建一个私有密钥,权限只需要勾选 **repo** 即可,不要设置过期时间,**只会显示一次记得记住**
22+
23+
![](https://cdn.jsdelivr.net/gh/haijun823/note-picture@main/note-picture/image-20230329155043676.png)
24+
25+
![image-20230329155043676](https://cdn.jsdelivr.net/gh/haijun823/note-picture@main/note-picture/image-20230329154757313.png)
26+
27+
![image-20230801140804692](https://cdn.jsdelivr.net/gh/haijun823/note-picture@main/note-picture/image-20230801140804692.png)
28+
29+
# 2. 安装PicGo
30+
31+
到官网中下载:**https://github.com/Molunerfinn/PicGo/releases**
32+
33+
配置 Github 图床
34+
35+
- 仓库名称:用户名/仓库名称,一般是github链接后面的
36+
- 分支:main,默认从main分支拉取
37+
- token:上面设置的私人密钥
38+
- 存储路径:定义好需要上传的图片路径,保存的文件夹
39+
- 自定义域名:配置CDN加速,如果是默认的路径 **https://raw.githubusercontent.com/[username\]/[仓库名]** 获取图片会非常的慢,通过指定的CDN域名拉取就会很快,这里用jsdeliver **https://cdn.jsdelivr.net/gh/[github用户名]/[仓库名]@main**,注意这里需要 @main 代表上传到main分支,默认是master
40+
41+
![image-20230329155905763](https://cdn.jsdelivr.net/gh/a1424132610/note-picture@main/note-picture/image-20230329155905763.png)
42+
43+
# 3. 配置typora
44+
45+
## 3.1 PicGo(app)
46+
47+
直接使用 **PicGo(app)** 的方式需要下载软件进行安装,比较简单,但是运行一个软件会比较占用资源
48+
49+
![image-20230329160414727](https://cdn.jsdelivr.net/gh/haijun823/note-picture@main/note-picture/image-20230329162144750.png)
50+
51+
## 3.2 PicGo(command)
52+
53+
直接下载即可,保存的路径是 **C:\Users\用户\AppData\Roaming\Typora\picgo\win64** 下载的是 **picgo.exe** 文件
54+
55+
![image-20230329162144750](https://cdn.jsdelivr.net/gh/haijun823/note-picture@main/note-picture/image-20230329160414727.png)
56+
57+
58+
59+
编辑配置文件
60+
61+
> C:\Users\用户\.picgo\config.json
62+
63+
```json
64+
{
65+
"picBed": {
66+
"current": "github",
67+
"uploader": "github",
68+
"github": {
69+
"repo": "haijun823/note-picture",
70+
"token": "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",
71+
"path": "note-picture",
72+
"customUrl": "https://cdn.jsdelivr.net/gh/haijun823/note-picture@main",
73+
"branch": "main"
74+
}
75+
},
76+
"picgoPlugins": {
77+
78+
}
79+
}
80+
```
81+
82+
![image-20230329162546328](https://cdn.jsdelivr.net/gh/a1424132610/note-picture@main/note-picture/image-20230329162546328.png)

0 commit comments

Comments
 (0)