Open fengxijia opened 4 years ago
确实,可能是拷贝 train_ch3
时的笔误
batch_size = 256 train_iter, test_iter = d2l.load_data_fashion_mnist(batch_size=batch_size)
我做5.5节时出现下面的报错:
Traceback (most recent call last):
File "e:/python1/lesson/LeNet.py", line 38, in
版本信息: pytorch: 1.0.1 torchvision: 0.2.2 torchtext: 0.6.0 windows7+VS code
bug描述 train_ch5参数中的batch_size没有用上。请问应该如何理解呢。![image](https://user-images.githubusercontent.com/32954412/77548695-d77dc280-6ee9-11ea-882f-8e9c5e81ab75.png)
版本信息 pytorch: 1.2.0 torchvision: 0.4.0 torchtext: 0.4.0 windows10+Jupyter notebook