简体   繁体   English

MatConvNet:FILTERS深度不划分数据深度

[英]MatConvNet: The FILTERS depth does not divide the DATA depth

I have the following issue: 我有以下问题:


Error using vl_nnconv 使用vl_nnconv时出错
The FILTERS depth does not divide the DATA depth. FILTERS深度不划分DATA深度。

Error in dagnn.Conv/forward (line 16) dagnn.Conv / forward错误(第16行)

outputs{1} = vl_nnconv(...

Error in dagnn.Layer/forwardAdvanced (line 85) dagnn.Layer / forwardAdvanced中的错误(第85行)

outputs = obj.forward(inputs, {net.params(par).value}) ;

Error in dagnn.DagNN/eval (line 91) dagnn.DagNN / eval中的错误(第91行)

obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in cnn_train_dag_ps>processEpoch (line 250) cnn_train_dag_ps> processEpoch中的错误(第250行)

net.eval(inputs, params.derOutputs, 'holdOn', s < params.numSubBatches) ;

Error in cnn_train_dag_ps (line 114) cnn_train_dag_ps中的错误(第114行)

[net, state] = processEpoch(net, state, params, 'train') ;

Error in Dag_Train (line 83) Dag_Train中的错误(第83行)

[ps_net, info] = cnn_train_dag_ps(ps_net, Train_Data, @(i,b) getBatch(bopts,i,b), trainOpts) ;

I've not understand that i could resolve this issue, i would be grateful if someone can help me, thanks. 我不知道我可以解决此问题,如果有人可以帮助我,我将不胜感激,谢谢。

Regards. 问候。

Check the structure of net.layers(i).block.size of your network to be compatible with ith input. 检查网络的net.layers(i).block.size的结构,使其与第i个输入兼容。 This compatibility is related to the number of dimensions and also the third component of their dimension.For example, if your input size of the network is MxNx3xP , then the dimension of the first filter should be VxVx3xQ . 这种兼容性与维数以及维的第三个组成部分有关,例如,如果网络的输入大小为MxNx3xP ,则第一个过滤器的维应该为VxVx3xQ

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM