摘要: 简单实现了torch版本的变分自编码器 参考大佬TensorFlow版本的VAE:膜拜大佬 import os import numpy as np from PIL import Image from matplotlib import pyplot as plt import torch fro 阅读全文
posted @ 2022-12-06 16:41 麦扣 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1. jupyter from time import sleep from tqdm.notebook import tqdm for epoch in range(1, CFG.epoch + 1): loop = tqdm((train_loader), total = len(train_l 阅读全文
posted @ 2022-12-06 15:37 麦扣 阅读(243) 评论(0) 推荐(0) 编辑