Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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)
|