We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
72页定义了数据转换: data_tf=transforms.Compose([transforms.ToTensor(),transforms.Normalize([0.5],[0.5])]) 运行之后出错, RuntimeError: size mismatch, m1: [1792 x 28], m2: [784 x 300] at c:\programdata\miniconda3\conda-bld\pytorch-cpu_1524541161962\work\aten\src\th\generic/THTensorMath.c:2033 书中和deep-nn代码里面的data_tf不同,代码样例里面data_tf有reshape操作
data_tf=transforms.Compose([transforms.ToTensor(),transforms.Normalize([0.5],[0.5])])
RuntimeError: size mismatch, m1: [1792 x 28], m2: [784 x 300] at c:\programdata\miniconda3\conda-bld\pytorch-cpu_1524541161962\work\aten\src\th\generic/THTensorMath.c:2033
The text was updated successfully, but these errors were encountered:
以 deep-nn 的代码为准,等1.0出来之后书会更新的
Sorry, something went wrong.
No branches or pull requests
72页定义了数据转换:
data_tf=transforms.Compose([transforms.ToTensor(),transforms.Normalize([0.5],[0.5])])
运行之后出错,
RuntimeError: size mismatch, m1: [1792 x 28], m2: [784 x 300] at c:\programdata\miniconda3\conda-bld\pytorch-cpu_1524541161962\work\aten\src\th\generic/THTensorMath.c:2033
书中和deep-nn代码里面的data_tf不同,代码样例里面data_tf有reshape操作
The text was updated successfully, but these errors were encountered: