Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望讲下如何在实际中应用训练出来的结果 #47

Closed
yunfengsay opened this issue Oct 24, 2018 · 0 comments
Closed

希望讲下如何在实际中应用训练出来的结果 #47

yunfengsay opened this issue Oct 24, 2018 · 0 comments

Comments

@yunfengsay
Copy link

讲的确实很好但是我们这些新手更希望和实际结合起来,这样才能刚快的学习各种概念

比如在cnn那一节 ,mnist的训练结果如果保存了下来想做自己写个数字检验下结果这个数据预处理的步骤,一起结合起来就好了

现在我就遇到了这样的问题,使用mnist的结果想要预测自己任意找到的一张图片但是数据预处理的结果和torch希望得到的结果不一样,现在很苦恼

nn/modules/conv.py", line 301, in forward self.padding, self.dilation, self.groups) RuntimeError: Expected 4-dimensional input for 4-dimensional weight [16, 1, 5, 5], but got input of size [26, 28] instead

可以看到上面,需要一个四维的数据,如果可以再串起来讲下这个就好了

另一个问题 如何解决这个四维的问题呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant