上一页 1 ··· 341 342 343 344 345 346 347 348 349 ··· 851 下一页
摘要: CogVideo & CogVideoX 微调代码源码解析(七) .\cogvideo-finetune\sat\sgm\modules\autoencoding\regularizers\base.py # 导入抽象方法和类型注解 from abc import abstractmethod # 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(89) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(六) .\cogvideo-finetune\sat\sgm\modules\autoencoding\losses\discriminator_loss.py # 导入所需的类型定义 from typing import Dict, It 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(142) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(九) .\cogvideo-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块以进行日志记录 import logging # 从 abc 模块导入 AB 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(191) 评论(0) 推荐(0)
摘要: CogVideo & CogVideoX 微调代码源码解析(二) .\cogvideo-finetune\inference\cli_demo.py # 脚本说明:演示如何使用 CogVideoX 模型通过 Hugging Face `diffusers` 管道生成视频 """ This scrip 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(720) 评论(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 绝不原创的飞龙 阅读(89) 评论(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 绝不原创的飞龙 阅读(205) 评论(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 绝不原创的飞龙 阅读(61) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(四) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\sampling_utils.py # 导入数学库以进行数学运算 import math # 导入 PyTorch 库以 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(109) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(三) .\cogview3-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块,用于记录日志信息 import logging # 从 abc 模 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(80) 评论(0) 推荐(0)
摘要: CogView3 & CogView-3Plus 微调代码源码解析(二) .\cogview3-finetune\sat\sgm\models\__init__.py # 从同一模块导入 AutoencodingEngine 类,用于后续的自动编码器操作 from .autoencoder impo 阅读全文
posted @ 2024-10-23 09:19 绝不原创的飞龙 阅读(98) 评论(0) 推荐(0)
上一页 1 ··· 341 342 343 344 345 346 347 348 349 ··· 851 下一页