Open ManojDatt opened 6 years ago
Can any one please help me to fix this issue ?
Ah, that might be numpy being more strict than the version I was using. Can you try adding int()
around the two float()
calls? Like:
newY = int(ceil(spectrogram.shape[1] / gridSize) * gridSize)
newX = int(ceil(spectrogram.shape[0] / gridSize) * gridSize)
for lines 21/22?
If that works I can change it in the repo.
I have to change it to. ceil(spectrogram.shape[1] / gridSize) * gridSize ==> spectrogram.shape[1]