Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.2K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Unet network using the neural network tools

Posted 7 years ago
POSTED BY: Guy Malki
4 Replies
POSTED BY: Alexey Golyshev
Posted 7 years ago

Any ideas please ? 1. How can I get the Output of layer “enc5” ?

POSTED BY: Guy Malki
Posted 7 years ago

Thank you. In accordance to the first example in your link, I added in the NetGraph

"enc_5" -> NetPort["layer5"]

Then, I tried to run it with the same command in the example:

nNetInfo =  NetTrain[net, trainingData,  "Output" -> CrossEntropyLossLayer["Index"]]

But I got error massages:

OptionValue::nodef "Unknown option \!\(\"Output\"\) for NetTrain"
NetTrain::missinslot "Specification for slot \!\(\"layer5\"\) is missing."

and in the NetTrain function command "Output" and "index" are colored by red.

What am I doing wrong ?

Thanks

POSTED BY: Guy Malki
Posted 7 years ago

This can be done by connecting an output port to that layer. Example.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard