Timeline for NetGraph won't accept EmbeddingLayers of different n
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23 at 4:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 26 at 3:10 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 27 at 2:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 29, 2023 at 1:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 30, 2023 at 0:42 | answer | added | Dropped Bass | timeline score: 0 | |
Aug 1, 2023 at 16:38 | comment | added | Domen |
I don't know what is wrong, but perhaps a simple solution is to separate both inputs (ie. provide two input ports instead of using PartLayer ): NetGraph[{EmbeddingLayer[50, "Input" -> NetEncoder[{"Class", {"male", "female"}}]], EmbeddingLayer[50, "Input" -> NetEncoder[{"Class", {"child", "adult", "senior"}}]], CatenateLayer[]}, {NetPort["Input1"] -> 1 -> 3, NetPort["Input2"] -> 2 -> 3}]
|
|
Aug 1, 2023 at 15:30 | comment | added | user233932 | Right now, I'm just trying to get the NetGraph to work before moving on to NetTrain. | |
Aug 1, 2023 at 15:16 | comment | added | user233932 | My actual task is much more complicated but the issue boils down to this. I am trying to train a neural net with multiple one-hot encoded classifications of different numbers of classes. In my actual task, there are three: one with 42,735 possible classes, one with 3320, and one with 62. That seems simple enough, yet I have not found anything on it online. | |
Aug 1, 2023 at 11:55 | history | edited | Domen | CC BY-SA 4.0 |
added 162 characters in body
|
Aug 1, 2023 at 11:52 | comment | added | Domen |
Welcome to Mathematica StackExchange! What is the example of an input that you with to feed into this NetGraph ?
|
|
S Jul 31, 2023 at 22:26 | review | First questions | |||
Jul 31, 2023 at 23:12 | |||||
S Jul 31, 2023 at 22:26 | history | asked | user233932 | CC BY-SA 4.0 |