loss Questions
1
Solved
I use Mask-R-CNN to train my data with it. When i use TensorBoard to see the result, i have the loss, mrcnn_bbox_loss, mrcnn_class_loss, mrcnn_mask_loss, rpn_bbox_loss, rpn_class_loss and all the s...
Piderit asked 26/3, 2019 at 14:59
2
My question is similar to the one posed here:
keras combining two losses with adjustable weights
However, the outputs have a different dimensionality resulting in the outputs not being able to be ...
Mastiff asked 10/12, 2018 at 13:56
3
Solved
Can anyone please explain in simple words and possibly with some examples what is a loss function in the field of machine learning/neural networks?
This came out while I was following a Tensorflow...
Maelstrom asked 18/3, 2017 at 18:4
1
Solved
As an input a have a float 1.0 or 0.0. When I try to predict with my model and the sparse_categorical_crossentropy loss I get something like:
[[0.4846592 0.5153408]].
How do I know what category ...
Raseta asked 23/11, 2018 at 12:40
2
Solved
I have unbalanced training dataset, thats why I built custom weighted categorical cross entropy loss function. But the problem is my validation set is balanced one and I want to use the regular cat...
1
There are no errors when saving or restoring. The weights appear to have restored correctly.
I am trying to build my own minimal character level RNN by following karpathy/min-char-rnn.py, sherjilo...
Damondamour asked 26/12, 2016 at 9:3
1
Solved
GAN originally proposed by IJ Goodfellow uses following loss function,
D_loss = - log[D(X)] - log[1 - D(G(Z))]
G_loss = - log[D(G(Z))]
So, discriminator tries to minimize D_loss and generator t...
Confucian asked 22/3, 2018 at 4:16
2
I have the following problem:
I have an autoencoder in Keras, and train it for a few epochs. The training overview shows a validation MAE of 0.0422 and an MSE of 0.0024.
However, if I then call n...
Tourism asked 18/4, 2018 at 15:35
3
Solved
I am training encoder-decoder attention-based model, with batch size 8. I don't suspect too much noise in the dataset, however the examples come from a few different distributions.
I can see a lot...
Lumpy asked 2/2, 2018 at 9:14
1
Solved
I am learning neural networks and I built a simple one in Keras for the iris dataset classification from the UCI machine learning repository. I used a one hidden layer network with a 8 hidden nodes...
Brisbane asked 14/12, 2017 at 15:55
9
I was working on a .js file this morning on Notepad++, as usual, when the program just crashed. So I ended it, and re-opened it to see that all my code lines in my .js file, had disappeared, and no...
1
I am implementing a custom loss function in keras. The model is an autoencoder. The first layer is an Embedding layer, which embed an input of size (batch_size, sentence_length) into (batch_size, s...
1
Solved
maybe someone is able to help me here. I am trying to compute the cross entropy loss of a given output of my network
print output
Variable containing:
1.00000e-02 *
-2.2739 2.9964 -7.8353 7.4667 4...
Prejudicial asked 1/11, 2017 at 23:21
1
I am trying to implement a simple gender classifier using deep convolutional neural networks using tensorflow. I have found this model and implemented it.
def create_model_v2(data):
cl1_desc = {'...
Howdoyoudo asked 5/8, 2017 at 10:48
2
Solved
I want to write a simple autoencoder in PyTorch and use BCELoss, however, I get NaN out, since it expects the targets to be between 0 and 1. Could someone post a simple use case of BCELoss?
Hast asked 30/4, 2017 at 16:33
1
Solved
I need to minimize KL loss in tensorflow.
I tried this function tf.contrib.distributions.kl(dist_a, dist_b, allow_nan=False, name=None), but I failed.
I tried to implement it manually:
def kl_di...
Lowminded asked 8/4, 2017 at 17:52
1
Solved
i started writing Neuronal Networks with tensorflow and there is one Problem i seem to face in each of my example Projects.
My loss allways starts at something like 50 or higher and does not decre...
Rail asked 21/12, 2016 at 9:41
0
I'm getting the problem of non-converged training loss. (batchsize: 16, average loss:10).
I have tried with the following methods
+ Vary the learning rate lr (initial lr = 0.002 cause very high lo...
1
I prepared several models for binary classification of documents in the fraud field. I calculated the log loss for all models. I thought it was essentially measuring the confidence of the predictio...
Eire asked 26/1, 2016 at 12:25
3
I just applied the log loss in sklearn for logistic regression: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.log_loss.html
My code looks something like this:
def perform_cv(cl...
Kedge asked 9/10, 2014 at 15:58
3
I'd like to garner fellow SO'ers experience with regards to the issue of UDP packet loss (or drop-out).
Initially my understanding is that given direct point to point connections where the NICs ar...
Tonettetoney asked 16/5, 2011 at 23:4
© 2022 - 2024 — McMap. All rights reserved.