-
Notifications
You must be signed in to change notification settings - Fork 19.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changing loss weight during training #6446
Comments
I suppose you are referring to the
|
@fchollet there seems to be a bug in there. Changing the loss_weights in the middle of the training seems to have no effect and the training continues with the initial weights. following is an snippet of the code I used to test loss_weights update. it successfully update the values of alpha and beta but this has no effect on the training. Also I compile the model with the updated weights but still no effect...
|
@tofigh- have you been able to figure out how to do it? |
Here's the solution to this problem: #2595 |
Hi, I am very new to keras. Hope my question don't bother too much :)
Just want to make very sure, when the model are recompiled are the learned weights saved in RAM?
In this way, will weights be "saved" for the self.model? P.s. Thanks for everything you did for the keras package, it's wonderful and saved me a lot of time. Best, |
TypeError: ('Not JSON Serializable:') |
Hi,
I am trying to change loss weight during training. When i check source code, loss weight is set during compiling. When i call fit, compile process is over. Is there any easy way to accomplish this target easily. I saw some issues related with learning rate but changing code "as in learning rate example" can affect other parts.
As i have limited experience on theano and keras, I need your help. Thanks (keras version 1.1.1)
The text was updated successfully, but these errors were encountered: