aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2018-10-31 14:07:25 +0000
committerVasil Zlatanov <v@skozl.com>2018-10-31 14:07:25 +0000
commitfc68a516162e2d8028edc05d1770f5d6599dfb72 (patch)
treecbcce01d7835293e7e6ede34991b774d602de107
parent398458ca559de38cdf9b181641d0f88b8c0c2dea (diff)
downloadvz215_np1915-fc68a516162e2d8028edc05d1770f5d6599dfb72.tar.gz
vz215_np1915-fc68a516162e2d8028edc05d1770f5d6599dfb72.tar.bz2
vz215_np1915-fc68a516162e2d8028edc05d1770f5d6599dfb72.zip
Revert "Change number of n_cases to correct one"
This reverts commit 398458ca559de38cdf9b181641d0f88b8c0c2dea.
-rwxr-xr-xtrain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/train.py b/train.py
index aed8f6e..fd03220 100755
--- a/train.py
+++ b/train.py
@@ -29,7 +29,7 @@ def normalise_faces(average_face, faces):
# Split data into training and testing sets
def test_split(n_faces, raw_faces, split, seed):
random.seed(seed)
- n_cases = 10
+ n_cases = 52
n_pixels = 2576
raw_faces_split = np.split(raw_faces,n_cases)