'embeddingLayer' is used in Train Conditional Generative Adversarial Network (CGAN).

'embeddingLayer' is used in Train Conditional Generative Adversarial Network (CGAN).
Error in flowers_cgan (line 53)
embeddingLayer(embeddingDimension,numClasses)
When I was trying to run CGAN code given in matlab website ,"Train Conditional Generative Adversarial Network (CGAN) - MATLAB & Simulink - MathWorks India" for testing I got this error. I dont know what it means. Does it have anything to do with the embedding dimension ? Please help me in understanding the problem.

 採用された回答

Taylor
Taylor 2024 年 4 月 2 日

1 投票

Did you run the following command to open the example?
openExample('nnet/TrainConditionalGenerativeAdversarialNetworkCGANExample')
embeddingLayer is a custom layer (i.e., separate m-file) that is included with the example. You will need it to run the example.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeKernel Creation from MATLAB Code についてさらに検索

質問済み:

2024 年 4 月 2 日

コメント済み:

2024 年 4 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by