No classification layer in MATLAB Deep network designer

74 ビュー (過去 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 Center および File ExchangeSequence 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