Skip to content

[ISSUE] Genre Classifier returns NaN losses #1

@bscout9956

Description

@bscout9956

I've spent an unhealthy amount of hours figuring this out and so far I can only get NaN (Not a Number) losses which seem to be making things not work properly.

Epoch 00001: saving model to savedweights_1/chkp-0.47580644488334656.ckpt
105/105 [==============================] - 1s 10ms/step - loss: nan - accuracy: 0.4797 - val_loss: nan - val_accuracy: 0.4758
Epoch 2/40
103/105 [============================>.] - ETA: 0s - loss: nan - accuracy: 0.4815
Epoch 00002: saving model to savedweights_1/chkp-0.47580644488334656.ckpt
105/105 [==============================] - 0s 5ms/step - loss: nan - accuracy: 0.4812 - val_loss: nan - val_accuracy: 0.4758

I've tried different sorts of training datasets. Lots of files, few files. Long files, short files. Normalization, silence cutting. Not sure what is wrong.
The graph of Accuracy and Loss of course goes like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions