2020年7月21日
摘要: 定义网络,莫凡讲的都是用sequential搭 定义优化器, G=torch.optim.Adam(G.parameter(),lr=LR) 先得有真实的数据,之前可以定义 def artist_work(): ... return paintings 在训练过程中才定义损失函数 for step 阅读全文
posted @ 2020-07-21 15:46 DoctorZhao 阅读(106) 评论(0) 推荐(0) 编辑