![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
卷积神经网络
通信学生一枚
never say never !
展开
-
垃圾分类之上传一张图片进行测试
通过上传图片路径进行垃圾分类识别。原创 2021-11-20 11:01:24 · 1835 阅读 · 0 评论 -
卷积神经网络训练后的小小测试
with torch.no_grad(): accuracy = 0 total = 0 for data in testdataloader: # 开始测试 model.eval().to(device) images, labels = data images, labels = images.to(device), labels.to(device) .原创 2021-11-17 09:03:26 · 1181 阅读 · 6 评论