kerosene icon indicating copy to clipboard operation
kerosene copied to clipboard

Error# train with another network

Open MitraTj opened this issue 6 years ago • 0 comments

Hi and thank you for this package

I want to this for loading SVHN dataset for another network. I use from kerosene.datasets import svhn2

def load_SVHN(): (X_train, y_train), (X_test, y_test) = svhn2.load_data()

X_train = X_train.reshape(-1, 32, 32, 3).astype('float32') / 255.
X_test = X_test.reshape(-1, 32, 32, 3).astype('float32') / 255.
y_train = to_categorical(y_train.astype('float32'))
y_test = to_categorical(y_test.astype('float32'))

and I got this error: ConfigurationError: Configuration not set and no default provided: data_path.

Would you please let me know which modification should I apply? thanks a lot!

MitraTj avatar May 23 '18 12:05 MitraTj