摘要:
Lucidrains 系列项目源码解析(十九) .\lucidrains\gigagan-pytorch\gigagan_pytorch\version.py # 定义变量 __version__,赋值为字符串 '0.2.20' __version__ = '0.2.20' .\lucidrains 阅读全文
posted @ 2024-06-28 14:05
绝不原创的飞龙
阅读(120)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(十二) .\lucidrains\denoising-diffusion-pytorch\denoising_diffusion_pytorch\karras_unet.py """ the magnitude-preserving unet proposed 阅读全文
posted @ 2024-06-28 14:04
绝不原创的飞龙
阅读(122)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(十八) .\lucidrains\geometric-vector-perceptron\examples\data_utils.py # 作者:Eric Alcaide # 导入必要的库 import os import sys # 科学计算库 import 阅读全文
posted @ 2024-06-28 14:04
绝不原创的飞龙
阅读(50)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(十) .\lucidrains\DALLE2-pytorch\setup.py # 导入所需的模块和函数 from setuptools import setup, find_packages # 执行版本文件中的代码,将版本信息导入当前环境 exec(ope 阅读全文
posted @ 2024-06-28 14:04
绝不原创的飞龙
阅读(193)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十一) .\lucidrains\PaLM-pytorch\palm_pytorch\triton\layernorm.py # 从 Phil Tillet 的 Triton 的 layernorm 教程中获取的代码 # Triton - https://t 阅读全文
posted @ 2024-06-28 14:04
绝不原创的飞龙
阅读(115)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十四) .\lucidrains\pixel-level-contrastive-learning\pixel_level_contrastive_learning\__init__.py # 从 pixel_level_contrastive_learni 阅读全文
posted @ 2024-06-28 14:04
绝不原创的飞龙
阅读(60)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十五) .\lucidrains\q-transformer\q_transformer\q_robotic_transformer.py # 从 random 模块导入 random 函数 from random import random # 从 fun 阅读全文
posted @ 2024-06-28 14:03
绝不原创的飞龙
阅读(57)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十三) .\lucidrains\perfusion-pytorch\perfusion_pytorch\save_load.py # 导入所需的模块 from pathlib import Path import torch from torch impo 阅读全文
posted @ 2024-06-28 14:03
绝不原创的飞龙
阅读(91)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十七) .\lucidrains\RETRO-pytorch\retro_pytorch\training.py import numpy as np from functools import partial import json from pathli 阅读全文
posted @ 2024-06-28 14:03
绝不原创的飞龙
阅读(169)
评论(0)
推荐(0)
摘要:
Lucidrains 系列项目源码解析(三十六) Data source The enwik8 data was downloaded from the Hutter prize page: http://prize.hutter1.net/ Reformer with Deepspeed for 阅读全文
posted @ 2024-06-28 14:02
绝不原创的飞龙
阅读(108)
评论(0)
推荐(0)

浙公网安备 33010602011771号