You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.
Hello, I am trying to use a convolutional neural network regressor in a dataset of 6x7 images that have four stacks (the input array is (25000,4,6,7)).
But whenever I run the .fit function I get a warning that the input array is being reshaped:
WARNING:sknn: - Reshaping input array from (25000L, 4L, 6L, 7L) to (25000L, 7L, 4L, 6L).
If I attempt to fit again with the same command I get an error:
ValueError: The hardcoded shape for the image stack size (7) isn't the run time shape (4).
I believe the initial reshaping to be the culprit, has anybody had any similar issues?
Here are some snippets of my code:
net = Regressor( layers = [Convolution("Rectifier", channels = 12 , kernel_shape = (4,4)),
Layer("Rectifier", units = 75,dropout=0.2),
Layer("Rectifier", units = 50,dropout=0.2),
Layer("Rectifier", units = 25,dropout=0.2),
Layer("Tanh", units = 1)],
batch_size = 32,
learning_rate = 0.0001,
learning_rule = 'nesterov',
n_iter = 1)
net.fit(X_train,y_train)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I am trying to use a convolutional neural network regressor in a dataset of 6x7 images that have four stacks (the input array is (25000,4,6,7)).
But whenever I run the .fit function I get a warning that the input array is being reshaped:
If I attempt to fit again with the same command I get an error:
I believe the initial reshaping to be the culprit, has anybody had any similar issues?
Here are some snippets of my code:
net = Regressor( layers = [Convolution("Rectifier", channels = 12 , kernel_shape = (4,4)),
Layer("Rectifier", units = 75,dropout=0.2),
Layer("Rectifier", units = 50,dropout=0.2),
Layer("Rectifier", units = 25,dropout=0.2),
Layer("Tanh", units = 1)],
batch_size = 32,
learning_rate = 0.0001,
learning_rule = 'nesterov',
n_iter = 1)
net.fit(X_train,y_train)
The text was updated successfully, but these errors were encountered: