摘要:
原代码运行 生成数据集中图片顺序不是1-20000顺序的。 载入了预训练的权重,引入softmax模块 改分类输出,适应数据集 训练结果 验证集运行结果 可视化检查 迁移学习 由于线上跑有点慢,在本地跑的 为了依然能使用torvhvision中的imagefolder方法,在test文件夹下建了一个 阅读全文
摘要:
代码练习 lab 1 模型代码 class FC2Layer(nn.Module): def __init__(self, input_size, n_hidden, output_size): super(FC2Layer, self).__init__() self.input_size = i 阅读全文
摘要:
1.代码截图 import matplotlib.pyplot as plt plt.hist(torch.randn(1000).numpy(),100)   plt.hist(torch.randn(10**6).numpy(),100);   learning_rate = 1 阅读全文