yunjey / pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers
MIT License
29.94k stars 8.1k forks source link

format后面是不是多了两参数啊 #203

Closed s1162276945 closed 4 years ago

s1162276945 commented 4 years ago

https://github.com/yunjey/pytorch-tutorial/blob/57afe85b2c7e6bb92918a73b9a9b6a3394c92951/tutorials/01-basics/feedforward_neural_network/main.py#L76

OrangeC93 commented 4 years ago

Did you get error? I remember I didn't get any error here. In theory, 'Epoch [{}/{}], Step [{}/{}], Loss: {:.4f}' has 5 {} correspond to 5 parameters.

s1162276945 commented 4 years ago

I'm sorry, I missed 'Step [{}/{}]', but didn't get any error here.