aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2018-10-30 16:03:11 +0000
committerVasil Zlatanov <v@skozl.com>2018-10-30 16:03:11 +0000
commit398458ca559de38cdf9b181641d0f88b8c0c2dea (patch)
treed6f5d58f62602f2d0e23c132cd82109d895f9bd0
parent9842746888fee666d416ee90150defc58dfab8ea (diff)
downloadvz215_np1915-398458ca559de38cdf9b181641d0f88b8c0c2dea.tar.gz
vz215_np1915-398458ca559de38cdf9b181641d0f88b8c0c2dea.tar.bz2
vz215_np1915-398458ca559de38cdf9b181641d0f88b8c0c2dea.zip
Change number of n_cases to correct one
-rwxr-xr-xtrain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/train.py b/train.py
index fd03220..aed8f6e 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 = 52
+ n_cases = 10
n_pixels = 2576
raw_faces_split = np.split(raw_faces,n_cases)