Input file data shape of .npy file in compact_cnn
See original GitHub issueIs the test file , 1100103.clip.npy , generated by the same way of other .npy files through audio_processor.py ?
When I use bensound-thejazzpiano.npy instead of 1100103.clip.npy main.py throw out a data shape mismatch msg:
ValueError: Error when checking : expected melspectrogram_input_1 to have 3 dimensions, but got array with shape (1, 1, 1, 1, 96, 1366)
How to modify the audio_processor.py to fix this error?
Thank you again.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Using .npy files as input/data for CNN network
I am trying to feed my network greyscale npy arrays with the dimensions 160 x 160. I am having trouble altering the dimensions...
Read more >numpy.load — NumPy v1.24 Manual
Load arrays or pickled objects from .npy , .npz or pickled files. ... Loading files that contain object arrays uses the pickle module,...
Read more >Why you should start using .npy file more often…
It works for as simple a task as reading data from file. ... The format stores all of the shape and data type...
Read more >I/O with NumPy
This .npy file stores data, shape, dtype and other information required ... The numpy.save() file stores the input array in a disk file...
Read more >numpy.load() in Python
load() function return the input array from a disk file with npy extension(.npy). Syntax : numpy.load(file, mmap_mode=None, allow_pickle=True, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No.
I just added a notebook.
Great!