未验证 提交 d1455660 编写于 作者: 片刻小哥哥's avatar 片刻小哥哥 提交者: GitHub

Merge pull request #551 from Freed-Wu/typo

Fix typo
......@@ -311,8 +311,8 @@ Accuracy of the network on the 10000 test images: 53 %
嗯,哪些类的表现良好,哪些类的表现不佳:
```py
class_correct = list(0\. for i in range(10))
class_total = list(0\. for i in range(10))
class_correct = list(0. for i in range(10))
class_total = list(0. for i in range(10))
with torch.no_grad():
for data in testloader:
images, labels = data
......@@ -418,4 +418,4 @@ inputs, labels = data[0].to(device), data[1].to(device)
[下载 Jupyter 笔记本:`cifar10_tutorial.ipynb`](https://pytorch.org/tutorials/_downloads/17a7c7cb80916fcdf921097825a0f562/cifar10_tutorial.ipynb)
[由 Sphinx 画廊](https://sphinx-gallery.readthedocs.io)生成的画廊
\ No newline at end of file
[由 Sphinx 画廊](https://sphinx-gallery.readthedocs.io)生成的画廊
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册