上一页 1 ··· 419 420 421 422 423 424 425 426 427 ··· 929 下一页
摘要: CogVideo & CogVideoX 微调代码源码解析(六) .\cogvideo-finetune\sat\sgm\modules\autoencoding\losses\discriminator_loss.py # 导入所需的类型定义 from typing import Dict, It 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(184) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(九) .\cogvideo-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块以进行日志记录 import logging # 从 abc 模块导入 AB 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(222) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(二) .\cogvideo-finetune\inference\cli_demo.py # 脚本说明:演示如何使用 CogVideoX 模型通过 Hugging Face `diffusers` 管道生成视频 """ This scrip 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(799) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(八) .\cogvideo-finetune\sat\sgm\modules\autoencoding\vqvae\movq_enc_3d.py # pytorch_diffusion + derived encoder decoder i 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(117) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(一) Raise valuable PR / 提出有价值的PR Caution / 注意事项: Users should keep the following points in mind when submitting PRs: 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(258) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(五) .\cogview3-finetune\sat\sgm\modules\encoders\__init__.py 请提供需要注释的代码。 .\cogview3-finetune\sat\sgm\modules\__init__ 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(87) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(四) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\sampling_utils.py # 导入数学库以进行数学运算 import math # 导入 PyTorch 库以 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(148) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(三) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块,用于记录日志信息 import logging # 从 abc 模 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(107) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(二) .\cogview3-finetune\sat\sgm\models\__init__.py # 从同一模块导入 AutoencodingEngine 类,用于后续的自动编码器操作 from .autoencoder impo 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(132) 评论(0) 推荐(0)
摘要: diffusers 源码解析(一) .\diffusers\callbacks.py # 导入类型注解 Any, Dict, List from typing import Any, Dict, List # 从配置工具导入基类 ConfigMixin 和注册函数 register_to_confi 阅读全文
posted @ 2024-10-22 12:39 绝不原创的飞龙 阅读(587) 评论(0) 推荐(0)
上一页 1 ··· 419 420 421 422 423 424 425 426 427 ··· 929 下一页