Questions tagged [neural-networks]
Questions involving defining, training, executing, importing and exporting neural networks.
577
questions
1
vote
1
answer
49
views
What is wrong with my neural network runtime?
Having started working with Neural Network in WM 14.0 I encounter the following strange problem. The code
...
0
votes
0
answers
24
views
Neural Network erros in NetEncoders?
I'm making a fairly complex neural network, and I've listed all the ports, the network flow, and the layers well. However, when I tried to run the NetGraph, it gave me the error message
...
0
votes
0
answers
31
views
Neural Network - catenate layer with an input in the form of <|"x"->{"y","z"}|>
I'm doing a research project that requires me to make a custom neural network, and one major challenge I'm facing is that a few pieces of the input data can have varying dimensionality. Specifically, ...
0
votes
0
answers
61
views
Result of Trained Net Is Much Worse than Last Result from the Monitor
I try to use GAN to generate handwriting "2".
I noticed there is a complete example in the documentation of NetGANOperator. So I first tried the code from ...
0
votes
0
answers
40
views
Using NetMeasurements for basic neural network
I have a neural network that works fine, but I would like to obtain some results on the Validation Set which provides some metrics on the performance of the training. I am obtaining some strange ...
0
votes
1
answer
44
views
Neural network that augments the input with constants
Suppose we have a simple neural network as follows:
...
0
votes
0
answers
89
views
SoftmaxLayer with one-hot vectors
The quantum physics problem I am looking at is a rotated qubit. The setup involves a y-rotated qubit measured in the z-basis (hence spin-up and spin-down). This scenario typically includes modeling ...
0
votes
0
answers
55
views
Using CrossEntropyLoss function for basic neural network
Hi I am interested in understanding how to use the neural network functions in Mathematica. I have just started learning hence this is a basic query. The simple example I am looking at is as follows: ...
0
votes
1
answer
105
views
Need explanation on data[[i]][[1]]
I am trying to train a physics model and then check its profile. For this model, data for physics model is defined with:
...
1
vote
0
answers
31
views
TensorProduct in a FunctionLayer cannot compile correctly
My network can output an array of 6x512x512 size at the end, now I want to multiply an array of length 3 for each of these 6 channels to get the color of the different channels, I am using the ...
0
votes
0
answers
34
views
Modeling with different outputs size
I have lists of input and output. I want to perform the prediction operation but my outputs are different for each input and this causes an error. Can someone help me to write the model in such a way ...
1
vote
2
answers
65
views
Define a ThreadingLayer involving list
As part of a larger net I am trying to define a ThreadingLayer but this results in an error:
...
4
votes
1
answer
75
views
EdgeLabels and EdgeLabelStyle of Graph
I try to name edges according to the nodes emerging from them and entering them. Each edge takes a specific name $e_{ij}$.
The following example illustrates what is required
...
3
votes
0
answers
50
views
Ways to implement a unit-norm neural network weight constraint
In the popular neural network framework Keras one can constrain the learned weights in a LinearLayer to have a unit norm. For example:
...
0
votes
0
answers
40
views
How to treat small numbers in order to gain efficiency and precision in neural network algorithm?
Unfortunately I won't be able to provide a MWE, as it would be too big and complex, and this question will be based on pure semantics, basically (and I understand if this is impossible to answer in ...