Questions tagged [loss]

599 questions
-1
votes
1 answer

Gan loss tiny, discriminator loss huge?

I can't find the problem in my code - I'm training a GAN and the gan loss and discriminator loss are very low, 0.04 and it seems like it's converging well but a - the pictures don't look very good but the actual problem is that, b - somehow when I…
Keren
  • 167
  • 2
  • 12
-1
votes
1 answer

How to create a loss-function for an unsupervised-learning model, where the ouput resembles the direct input for a game agent?

I'm trying to setup a deep neuronal network, which predicts the next move for a game agent to navigate a world. To control the game agent it takes two float inputs. The first one controls the speed (0.0 = stop/do not move, 1.0 = max. speed). The…
Tobs
  • 27
  • 3
-1
votes
1 answer

how evaluate function works in keras

I am a bit confused about what value I should be expecting from Keras's evaluate function. Here is the evaluate function definition from Keras documentation: evaluate(self, x=None, y=None, batch_size=None, verbose=1, sample_weight=None,…
edn
  • 1,981
  • 3
  • 26
  • 56
-1
votes
1 answer

Keras with Theano: Loss decrease but accuracy not changing

This is my code. I tried to build a VGG 11 layers network, with a mix of ReLu and ELu activation and many regularizations on kernels and activities. The result is really confusing: The code is at 10th epoch. My loss on both train and val have…
Estellad
  • 29
  • 4
-1
votes
1 answer

ASP development after SQL Server goes down?

Scenario: ISS 8.5 is on our work machines, our Microsoft SQL Server is currently down for an indeterminate amount of time, and we don't have a back-up. We can continue to develop code on localhost. Because SQL Server is down, we can't execute any…
JR.sc
  • 37
  • 6
-1
votes
1 answer

how to find surrogate of a non convex function

I am doing learning to rank.I have found that some of the loss functions for example 0/1 loss can not be directly minimized being either non-convex or discontinuous etc.this is true in case of other loss functions also. So the researchers use…
-1
votes
1 answer

C# bitmap.save loses some pixels

I writing a code to color my bitmap image pixels for int[,] unClusteredImage = new int[367,158]; Bitmap clusteredImage = new Bitmap(367, 158); for (int row = 0; row < unClusteredImage.GetLength(0); row++) for (int col = 0;…
-2
votes
1 answer

Machine Learning - interpretation chart

I don't know how interpretation charts from training network in Machine Learning. I don't understand why val_accuracy is divergent compering to accuracy and the same problem in second chart (loss vs val_loss). Please help me. Thanks charts I try…
-2
votes
1 answer

Loss value in Linear regression

I have done a linear regression problem with boston dataset and I have obtained the next results: Loss value does not change with increasing number of value. What is the reason of this mistake? Please, help me import pandas as pd import torch import…
-3
votes
1 answer

Understanding these machine learning curves?

enter image description here #machine_learning My model has 3 images for the testing and I got these curves as result, I do not know how to explain these curves in the report
-3
votes
1 answer

Combine generator loss with GAN loss in Generative Adversarial Network

I'm now trying to implement GAN in keras. I want to use both the GAN loss and the generator loss at the same time when I train the network. Because I've found from some papers that this might contribute to some performance gain. It is a little bit…
Queenie
  • 27
  • 1
  • 5
-3
votes
1 answer

Keras - loss and val_loss increasing

I have neural network in Keras using LSTM for training chatbot. contextTrain, contextTest, utteranceTrain, utteranceTest = train_test_split(context, utterance, test_size=0.1, random_state=1) model =…
Spook
  • 331
  • 1
  • 6
  • 16
1 2 3
39
40