上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 556 下一页
摘要: CogVideo & CogVideoX 微调代码源码解析(十二) .\cogvideo-finetune\sat\vae_modules\autoencoder.py # 导入所需的标准库和第三方库 import logging # 日志库,用于记录信息 import math # 数学库,提供数 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(114) 评论(0) 推荐(0) 编辑
摘要: CogVideo & CogVideoX 微调代码源码解析(十) .\cogvideo-finetune\sat\sgm\modules\diffusionmodules\sampling.py # 部分移植自 https://github.com/crowsonkb/k-diffusion/blo 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(69) 评论(0) 推荐(0) 编辑
摘要: CogVideo & CogVideoX 微调代码源码解析(三) .\cogvideo-finetune\inference\gradio_composite_demo\rife\laplacian.py # 导入 PyTorch 库 import torch # 导入 NumPy 库 import 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(147) 评论(0) 推荐(0) 编辑
摘要: CogVideo & CogVideoX 微调代码源码解析(七) .\cogvideo-finetune\sat\sgm\modules\autoencoding\regularizers\base.py # 导入抽象方法和类型注解 from abc import abstractmethod # 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(45) 评论(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 绝不原创的飞龙 阅读(35) 评论(0) 推荐(0) 编辑
摘要: CogVideo & CogVideoX 微调代码源码解析(九) .\cogvideo-finetune\sat\sgm\modules\diffusionmodules\guiders.py # 导入 logging 模块以进行日志记录 import logging # 从 abc 模块导入 AB 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(109) 评论(0) 推荐(0) 编辑
摘要: CogVideo & CogVideoX 微调代码源码解析(二) .\cogvideo-finetune\inference\cli_demo.py # 脚本说明:演示如何使用 CogVideoX 模型通过 Hugging Face `diffusers` 管道生成视频 """ This scrip 阅读全文
posted @ 2024-10-23 09:20 绝不原创的飞龙 阅读(313) 评论(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 绝不原创的飞龙 阅读(32) 评论(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 绝不原创的飞龙 阅读(75) 评论(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 绝不原创的飞龙 阅读(22) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 556 下一页