aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornunzip <np.scarh@gmail.com>2019-02-27 23:35:11 +0000
committernunzip <np.scarh@gmail.com>2019-02-27 23:35:11 +0000
commita82ede1619aa57fe081805f10a799e1f8e3b53f9 (patch)
tree85ab543b6c2e595d665d021f585cf538245fd6c6
parent5c14a69666560c1e63d69cf6e758119ae09a47c0 (diff)
downloade4-gan-a82ede1619aa57fe081805f10a799e1f8e3b53f9.tar.gz
e4-gan-a82ede1619aa57fe081805f10a799e1f8e3b53f9.tar.bz2
e4-gan-a82ede1619aa57fe081805f10a799e1f8e3b53f9.zip
Default split for mix at the end of function arguments
-rw-r--r--lenet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lenet.py b/lenet.py
index ff042f1..fa27422 100644
--- a/lenet.py
+++ b/lenet.py
@@ -127,7 +127,7 @@ def test_classifier(model, x_test, y_true):
print("Test acc:", accuracy_score(y_true, y_pred))
plot_example_errors(y_pred, y_true, x_test)
-def mix_data(split=0, X_train, y_train, X_validation, y_validation, train_gen, tr_labels_gen, val_gen, val_labels_gen):
+def mix_data(X_train, y_train, X_validation, y_validation, train_gen, tr_labels_gen, val_gen, val_labels_gen, split=0):
if split == 0:
train_data = X_train