jiehou commited on
Commit
6e017dd
1 Parent(s): e6a8323

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def demo1_derive_MNIST_train_test_data():
8
  X_train, X_test, y_train, y_test = X[:60000], X[60000:], y[:60000], y[60000:]
9
  y_train = y_train.astype(np.int) # convert to int
10
  y_test = y_test.astype(np.int) # convert to int
11
- return X_train, X_test, y_train, y_test
12
 
13
  X_train, X_test, y_train, y_test = demo1_derive_MNIST_train_test_data()
14
  print("X_train.shape: ", X_train.shape)
 
8
  X_train, X_test, y_train, y_test = X[:60000], X[60000:], y[:60000], y[60000:]
9
  y_train = y_train.astype(np.int) # convert to int
10
  y_test = y_test.astype(np.int) # convert to int
11
+ return X_train, X_test, y_train, y_test
12
 
13
  X_train, X_test, y_train, y_test = demo1_derive_MNIST_train_test_data()
14
  print("X_train.shape: ", X_train.shape)