Skip to content

fit_generator() is no more maintained#3

Open
coddiction wants to merge 1 commit intokrishnaik06:masterfrom
mayurgupta-code:patch-2
Open

fit_generator() is no more maintained#3
coddiction wants to merge 1 commit intokrishnaik06:masterfrom
mayurgupta-code:patch-2

Conversation

@coddiction
Copy link

fit_generator() is no more maintained by keras, they always suggests us to use fit() method instead of fit_generator() because fit_generator() is no more maintained by them.
Also, in the history dict that comes from r.history
r.history['acc'] is not there r.history['accuracy'] is there
r.history['val_acc'] is not there r.history['val_accuracy'] is there

{'loss': [0.5364223122596741,
  0.4704432785511017,
  0.45543161034584045,
  0.442967027425766,
  0.432258665561676],
 'accuracy': [0.7246249914169312,
  0.7758749723434448,
  0.7861250042915344,
  0.7906249761581421,
  0.7956249713897705],
 'val_loss': [0.46301984786987305,
  0.4526628255844116,
  0.44189468026161194,
  0.43687668442726135,
  0.43237316608428955],
 'val_accuracy': [0.7799999713897705,
  0.7864999771118164,
  0.7935000061988831,
  0.7910000085830688,
  0.7914999723434448]}

Prefer the keys of this history dict.
Else, all your contribution is appreciated by us.
Hope, you will understand this

Thanks a lot,
HaPpY Coding 😇

fit_generator() is no more maintained by keras, they always suggests us to use fit() method instead of fit_generator() because fit_generator() is no more maintained by them.
Also, in the history dict that comes from r.history
r.history['acc'] is not there r.history['accuracy'] is there
r.history['val_acc'] is not there r.history['val_accuracy'] is there

{'loss': [0.5364223122596741,
  0.4704432785511017,
  0.45543161034584045,
  0.442967027425766,
  0.432258665561676],
 'accuracy': [0.7246249914169312,
  0.7758749723434448,
  0.7861250042915344,
  0.7906249761581421,
  0.7956249713897705],
 'val_loss': [0.46301984786987305,
  0.4526628255844116,
  0.44189468026161194,
  0.43687668442726135,
  0.43237316608428955],
 'val_accuracy': [0.7799999713897705,
  0.7864999771118164,
  0.7935000061988831,
  0.7910000085830688,
  0.7914999723434448]}
Prefer the keys of this history dict.
Else, all your contribution is appreciated by us.
Hope, you will understand this 

Thanks a lot,
HaPpY Coding 😇
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant