摘要:
Lucidrains 系列项目源码解析(三十二) Parti - Pytorch Implementation of Parti, Google's pure attention-based text-to-image neural network, in Pytorch. Project Page 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(148)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十八) .\lucidrains\routing-transformer\routing_transformer\routing_transformer.py # 导入 torch 库 import torch # 导入 torch 中的神经网络模块 imp 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(73)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十) .\lucidrains\nuwa-pytorch\nuwa_pytorch\optimizer.py # 导入 torch 库 import torch # 从 torch.optim 中导入 AdamW 和 Adam 优化器 # 分离可进行权重衰减 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(125)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三) .\lucidrains\audiolm-pytorch\audiolm_pytorch\data.py # 导入必要的模块 from pathlib import Path from functools import partial, wraps # 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(177)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(七) .\lucidrains\compressive-transformer-pytorch\setup.py # 导入设置和查找包的函数 from setuptools import setup, find_packages # 设置包的元数据 setup 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(138)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(六) .\lucidrains\CoCa-pytorch\coca_pytorch\__init__.py # 从 coca_pytorch 模块中导入 CoCa 类 from coca_pytorch.coca_pytorch import CoCa CoC 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(155)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(九) Dataloaders In order to make loading data simple and efficient, we include some general dataloaders that can be used to train p 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(142)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(二十一) .\lucidrains\imagen-pytorch\setup.py # 导入设置工具和查找包工具 from setuptools import setup, find_packages # 执行版本文件中的代码,将版本信息导入当前环境 exec 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(133)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(二十五) .\lucidrains\med-seg-diff-pytorch\setup.py # 导入设置工具和查找包工具 from setuptools import setup, find_packages # 设置包的信息 setup( # 包名 na 阅读全文
posted @ 2024-06-28 14:01
绝不原创的飞龙
阅读(100)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(二十四) .\lucidrains\magvit2-pytorch\magvit2_pytorch\optimizer.py # 从 torch.optim 模块中导入 AdamW 和 Adam 优化器 from torch.optim import Adam 阅读全文
posted @ 2024-06-28 14:01
绝不原创的飞龙
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号