How can I fix the problem of deep network designer in MATLAB?

4 visualizaciones (últimos 30 días)
jin Lu
jin Lu el 16 de Abr. de 2021
Comentada: jin Lu el 16 de Abr. de 2021
I have used the Function yolov2Layers to improve the resnet50. And I also have used the Deep NetWork Designer to import the improved network from the workspace. When I used the button Analyze the network, however, I encountered the error:
expected input to match one of these values: 'narrow-normal','glorot','he','zeros','ones'
The input, '@(sz)randn(sz)*0.01,did not match any of the valid values.
Moreover, I can't export the code.

Respuestas (1)

Steven Lord
Steven Lord el 16 de Abr. de 2021
Which release of Deep Learning Toolbox are you using? If you're using a release prior to R2019a I suspect though I'm not certain that the functionality you're trying to use was introduced in that release. See the Release Notes for more information.
  2 comentarios
jin Lu
jin Lu el 16 de Abr. de 2021
I'm using the release R2020b.
jin Lu
jin Lu el 16 de Abr. de 2021
imageSize = [224 224 3];
numClasses = 1;
anchorBoxes = [1 1;4 6;5 3;9 6];
network = resnet50();
featureLayer = 'activation_49_relu';
lgraph = yolov2Layers(imageSize,numClasses,anchorBoxes,network,featureLayer);
analyzeNetwork(lgraph)
I can use the function analyzeNetwork to analyze the lgraph. But I can't use the button in Deep NetWork Designer to analyze it.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by