79367710

Date: 2025-01-18 18:08:44
Score: 1
Natty:
Report link

Changing y from dictionary to a list within model.fit resolved the error.

history = model.fit(
    X,
    [y_regression, y_classification],
    epochs=10,
    batch_size=32,
    sample_weight=sample_weights,
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vaida