Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eval_network.py error #38

Open
sarbjit-longia opened this issue May 12, 2018 · 0 comments
Open

eval_network.py error #38

sarbjit-longia opened this issue May 12, 2018 · 0 comments

Comments

@sarbjit-longia
Copy link

Using TensorFlow backend.
class_names = ['music_wav', 'speech_wav']
total files = 26 , going to load total_load = 0
total files = 26 , going to load total_load = 0
get_sample_dimensions: bagpipe.wav.npz: melgram.shape = (1, 96, 2584, 1)
melgram dimensions: (1, 96, 2584, 1)

Loading class 1/2: 'music_wav', File 1/13: Preproc/Test/music_wav/bagpipe.wav.npz Traceback (most recent call last):
File "eval_network.py", line 135, in
eval_network(weights_file=args.weights, classpath=args.classpath, batch_size=args.batch_size)
File "eval_network.py", line 63, in eval_network
X_test, Y_test, paths_test, class_names = build_dataset(path=classpath, batch_size=batch_size)
File "panotti\datautils.py", line 235, in build_dataset
X[load_count,:,:] = melgram
IndexError: index 0 is out of bounds for axis 0 with size 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant