Skip to content

Commit bc34961

Browse files
committed
add(12-Custom_Models_&_Training_with_TF): add custom loss function
- add custom loss function - saving model with custom loss function - loading model with custom loss function - create class for custom loss function - saving and loading model with custom loss function class
1 parent 27a86a4 commit bc34961

File tree

3 files changed

+1263
-1
lines changed

3 files changed

+1263
-1
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ my_cifar_model.h5
1111
my_cifar10_alpha_dropout_model.h5
1212
my_cifar10_bn_model.h5
1313
my_cifar10_selu_model.h5
14+
15+
my_model_with_custom_loss_class.kears
16+
my_model_with_custom_loss_class.keras
17+
my_model_with_custom_loss_class.h5
18+
my_model_with_a_custom_loss.keras
19+
my_model_with_custom_loss_threshold_2.keras

11-Training_Deep_Neural_Network.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4055,7 +4055,7 @@
40554055
],
40564056
"metadata": {
40574057
"kernelspec": {
4058-
"display_name": "latest",
4058+
"display_name": "Python 3 (ipykernel)",
40594059
"language": "python",
40604060
"name": "python3"
40614061
},

0 commit comments

Comments
 (0)