Eric2983 commited on
Commit
343c4bb
1 Parent(s): d558168

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ model.add(tf.keras.layers.Dense(units=36,activation='softmax'))
77
  model.compile(optimizer='adam',loss='categorical_crossentropy',metrics=['accuracy',"mean_absolute_error","Precision","Recall",tf.keras.metrics.AUC()])
78
 
79
  #Entrenar el modelo desde la ultima epoca almacenada usando el parametro initial_epoch
80
- history = model.fit(x=training_set,validation_data=validation_set, epochs=5, initial_epoch=max_num, callbacks=[tensorboard_callback, checkpoint_callback])
81
 
82
  #Precisión del conjunto de entrenamiento
83
  train_loss, train_acc = model.evaluate(training_set)
 
77
  model.compile(optimizer='adam',loss='categorical_crossentropy',metrics=['accuracy',"mean_absolute_error","Precision","Recall",tf.keras.metrics.AUC()])
78
 
79
  #Entrenar el modelo desde la ultima epoca almacenada usando el parametro initial_epoch
80
+ history = model.fit(x=training_set,validation_data=validation_set, epochs=5, initial_epoch=10)
81
 
82
  #Precisión del conjunto de entrenamiento
83
  train_loss, train_acc = model.evaluate(training_set)