No classification layer in MATLAB Deep network designer

조회 수: 75 (최근 30일)
Shreyas Karnad
Shreyas Karnad 2024년 6월 25일
답변: Aditya 2024년 6월 26일
Hi,
I am trying to build an image classification network in MATLAB. I am using the inbuilt Deep Network Designer app. But in the end of the neural network, there is a classification layer which is totally missing. I designed the last network in March and at that time the layer was present but now it is missing. Attaching the screenshots for reference. Also the tabs to select the image ibrary and the training options are missing from the top.

답변 (2개)

Muskan
Muskan 2024년 6월 26일
As per the offical domentation from MATLAB R2024a, "classificationLayer" is not recommend to use. Please use the "trainnet" function instead. Refer to the following documentation of "classificationLayer" for a better understanding:
For more understanding on how to use "trainnet" function in Deep Network Designer, please refer to the following documentation:

Aditya
Aditya 2024년 6월 26일
In R2024a, Deep Network Designer updated to use "dlnetwork" objects by default.
This version of Deep Network Designer does not include training and therefore the "Training" and "Data" tabs are not present
Additionally, "dlnetwork" objects do not require an output layer and therefore, output layers are not in the layer library.
All of the differences between the two versions are in the following documentation page: https://www.mathworks.com/help/releases/R2024a/deeplearning/ref/deepnetworkdesigner-app.html#mw_c01f379c-a044-4c49-a2c1-13b71e3b15dd
Using "dlnetwork" objects from "trainnet" is recommended from R2024a onwards however, if it is not possible to transition to "dlnetwork" as recommended, you can still use the "DAGNetwork"/"SeriesNetwork" version of the app with the "-v1" flag as
>> deepNetworkDesigner("-v1")

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by