"Found 0 total samples" error
See original GitHub issueZero samples found so it throws this error:
raise errors.InvalidArgumentError(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected 'tf.Tensor(False, shape=(), dtype=bool)' to be true. Summarized data: b'No files matched pattern: /content/MUSIKA/output/*.npy'
I seem to encounter an issue with Google Drive files when using some Colabs. I’ve seen variations like /content/[myfolder] /content/drive/[myfolder] /content/My Drive/[myfolder]
Maybe it’s different for users who aren’t on the free 15Gb Drive plan? (I’m paying for 2Tb) Don’t know if that’s the issue.
Am i missing something? I figured this could just run on a folder of mp3s.
**Addendum: tried converting all files to 44.1 as I noticed that was the format of the demos. No change. Can the Colab not read mp3 files?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
'ValueError: Found array with 0 sample(s) (shape=(0, 1)) while ...
I managed to solve the issue by doing the following before deploying the train/test method: #features should be converted into a numpy array...
Read more >How To Calculate Sampling Error in 6 Steps (With Examples)
How to calculate sampling error · 1. Record the sample size · 2. Find the standard deviation of the population · 3. Determine...
Read more >sample.size less than or equal to zero. Need positive ... - GitHub
Hello. How to deal with error when I am having the minimum (of sample_sums of the phyloseq object) equals to zero.
Read more >Sampling Errors in Statistics: Definition, Types, and Calculation
A sampling error is a statistical error that occurs when an analyst does not select a sample that represents the entire population of...
Read more >5. Differences between means: type I and type II errors and ...
We saw in Chapter 3 that the mean of a sample has a standard error, and a mean that departs by more than...
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
It seems like you are specifying an empty path for your mp3 files! You can check the position of your folder by navigating to it in the “File” tab in colab (the little folder icon on the left).
Ah…I converted the mono WAV into stereo…problem solved. Must have missed the memo on mono files! Tx