上一页 1 ··· 355 356 357 358 359 360 361 362 363 ··· 865 下一页
摘要: CogVideo & CogVideoX 微调代码源码解析(九) .\cogvideo-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块以进行日志记录 import logging # 从 abc 模块导入 AB 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(210) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(二) .\cogvideo-finetune\inference\cli_demo.py # 脚本说明:演示如何使用 CogVideoX 模型通过 Hugging Face `diffusers` 管道生成视频 """ This scrip 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(755) 评论(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 绝不原创的飞龙 阅读(111) 评论(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 绝不原创的飞龙 阅读(226) 评论(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 绝不原创的飞龙 阅读(74) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(四) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\sampling_utils.py # 导入数学库以进行数学运算 import math # 导入 PyTorch 库以 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(134) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(三) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块,用于记录日志信息 import logging # 从 abc 模 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(97) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(二) .\cogview3-finetune\sat\sgm\models\__init__.py # 从同一模块导入 AutoencodingEngine 类,用于后续的自动编码器操作 from .autoencoder impo 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(114) 评论(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 绝不原创的飞龙 阅读(561) 评论(0) 推荐(0)
摘要: diffusers 源码解析(五) .\diffusers\models\autoencoders\autoencoder_asym_kl.py # 版权声明,标识该文件的所有权和使用条款 # Copyright 2024 The HuggingFace Team. All rights reser 阅读全文
posted @ 2024-10-22 12:39 绝不原创的飞龙 阅读(368) 评论(0) 推荐(0)
上一页 1 ··· 355 356 357 358 359 360 361 362 363 ··· 865 下一页