problem with the model generation
emmanuelbernieri opened this issue · 4 comments
emmanuelbernieri commented
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
keunwoochoi commented
Could you check #22?
emmanuelbernieri commented
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
keunwoochoi commented
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.
emmanuelbernieri commented
it's perfectly working
thank you very much