autonomio / talos

Hyperparameter Experiments with TensorFlow and Keras
https://autonom.io
MIT License
1.62k stars 268 forks source link

Better error message when downsampling results in no permutations #261

Closed JohanMollevik closed 5 years ago

JohanMollevik commented 5 years ago

Right now if the downsampling results in no premutations, most commonly by the permutation_filter parameter we get an error message

IndexError: single positional indexer is out-of-bounds

This is a bit confusing, a better error message would be nice.

mikkokotila commented 5 years ago

Makes sense. This will be handled in the commit that will address #256.

mikkokotila commented 5 years ago

Merging this with #326. Closing here.