how to solve this error? in matlab
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
net.layers{1} = struct(...
'name', 'conv1', ...
'type', 'conv', ...
'weights', {{randn(10,10,3,2,'single'), randn(2,1,'single')}}, ...
'pad', 0, ...
'stride', 1) ;
net.layers{2} = struct(...
'name', 'relu1', ...
'type', 'relu') ;
4 commentaires
Fawad Ahmad
le 22 Juil 2019
Torsten
le 22 Juil 2019
net.layers{1} = struct2cell(struct(...))
Fawad Ahmad
le 22 Juil 2019
Peter Jarosi
le 22 Juil 2019
Modifié(e) : Peter Jarosi
le 22 Juil 2019
I can't reproduce your error. If I copy your code in my Matlab it works properly.
It looks like this is a part of your cnn_wrap function, therefore most likely variable net is in the argument list of your function, and predefined in a different way. But we don't know how you called cnn_wrap function from your main script and what the original content of variable net was.
Réponses (0)
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!