keunwoochoi/music-auto_tagging-keras

problem with the model generation

emmanuelbernieri opened this issue · 4 comments

when I run the example_tagging an error occurs in the MusicTaggerCNN:

ValueError: Dimension 0 in both shapes must be equal, but are 96 and 1366 for 'Assign' (op: 'Assign') with input shapes: [96], [1366].

How can we solve this problem ?

Kind regards

Emmanuel

Could you check #22?

Ok I see,

In that case could you please explain to me on the compact cnn. How do you transform a .wav or .mp3 file into the 1100103.clip.npy ?

Kind regards

Just pushed an example:
https://github.com/keunwoochoi/music-auto_tagging-keras/blob/master/compact_cnn/prepare_audio.py . Basically it's decoding, resampling, downmixing, and trimming.

it's perfectly working 👍

thank you very much