2025年12月15日

摘要: 4.3. 预训练Z-Image 采用流匹配目标函数 [44, 48] 进行训练:首先通过高斯噪声 x 0 ​ 与原始图像 x 1 ​ 的线性插值构造带噪输入,即 x t ​ =t⋅x 1 ​ +(1−t)⋅x 0 ​ ;随后训练模型预测定义二者间路径的向量场的速度(即 v t ​ =x 1 ​ −x 阅读全文
posted @ 2025-12-15 18:09 张博的博客 阅读(2) 评论(0) 推荐(0)
摘要: • Information Entropy: To maximize the density of meaningful content seen during training, we filter out low-entropy images. This is achieved through 阅读全文
posted @ 2025-12-15 16:39 张博的博客 阅读(3) 评论(0) 推荐(0)
摘要: 视图-->导航网格 阅读全文
posted @ 2025-12-15 10:35 张博的博客 阅读(2) 评论(0) 推荐(0)
摘要: from docx.shared import Pt from docx.enum.text import WD_COLOR_INDEX from collections import Counter def r(lis): counter = Counter(lis) return counter 阅读全文
posted @ 2025-12-15 10:15 张博的博客 阅读(1) 评论(0) 推荐(0)

2025年12月13日

摘要: ![企业微信截图_17656035689191](https://img2024.cnblogs.com/blog/1311058/202512/1311058-20251213132751535-1957156503.png) 阅读全文
posted @ 2025-12-13 13:27 张博的博客 阅读(5) 评论(0) 推荐(0)
摘要: 200坦杀,2个巨炮.140矿车 阅读全文
posted @ 2025-12-13 00:36 张博的博客 阅读(5) 评论(0) 推荐(0)

2025年12月12日

摘要: # 方式1:遍历所有文件(包括子目录,递归) from pathlib import Path import os def return_all_file_abspath(p): r = Path(p) out = [] print(" 遍历所有文件 ") for file_path in r.rg 阅读全文
posted @ 2025-12-12 20:21 张博的博客 阅读(3) 评论(0) 推荐(0)
摘要: 使用cmd运行代码即可,关闭vscode, 改代码再打开. 阅读全文
posted @ 2025-12-12 19:25 张博的博客 阅读(3) 评论(0) 推荐(0)
摘要: https://github.com/Sumandora/remove-refusals-with-transformers 亲测好使: 先运行compute_refusal_dir.py 再运行inference.py 即可. 原理在这里: https://kaushiksp.medium.com 阅读全文
posted @ 2025-12-12 15:41 张博的博客 阅读(3) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/41573146 变分法是处理泛函的数学领域,和处理函数的传统微积分相对。 对泛函求极值的问题称为变分问题,使泛函取极值的函数称为变分问题的解,也称为极值函数。 传统的微积分中的一个常见的问题是找到一个 x 值使得 y(x) 取得最大值或者最 阅读全文
posted @ 2025-12-12 11:00 张博的博客 阅读(2) 评论(0) 推荐(0)

导航