We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec4fc4 commit e38a0f3Copy full SHA for e38a0f3
extra_keras_datasets/svhn.py
@@ -52,7 +52,7 @@ def load_data(path='svhn_matlab.npz', type='normal'):
52
input_extra = mat_extra['X']
53
input_extra = np.rollaxis(input_extra, 3, 0)
54
target_extra = mat_extra['y'].flatten()
55
- input_train = np.insert(input_extra, input_train)
+ input_train = np.insert(input_extra, len(input_train), values = input_train)
56
target_train = np.concatenate(target_extra, target_train)
57
58
# Return data
0 commit comments