在下面的链接中运行教程时,当我进入下面的步骤时,出现以下错误。在这之前没有错误。在R中使用mxnet预训练的图像分类模型
http://mxnet.io/tutorials/r/classifyRealImageWithPretrainedModel.html
prob <- predict(model, X=normed) [19:01:35] D:\chhong\mxnet\dmlc-core\include\dmlc/logging.h:235: [19:01:35] d:\chhong\mxnet\src\operator./concat-inl.h:152: Check failed: (dshape[j]) == (tmp[j]) Incorrect shape[2]: (1,320,15,15). (first input shape: (1,576,14,14)) Error: InferShape Error in ch_concat_3c_chconcat: [19:01:35] d:\chhong\mxnet\src\operator./concat-inl.h:152: Check failed: (dshape[j]) == (tmp[j]) Incorrect shape[2]: (1,320,15,15). (first input shape: (1,576,14,14))
要问一个故障诊断问题,您需要提供代码和数据以在问题本身内重现您的问题 –
我是mxnet R软件包的维护人员。首先,我建议你在github上打开问题。其次,问题的原因是Windows包太旧了。它尚未更新一段时间,因为我现在无法访问任何Windows机器。 –