Commit d0465cd4 authored by Manuel Günther's avatar Manuel Günther

Fixed small issues.

parent 1145e469
......@@ -74,7 +74,7 @@ class LRPCA (bob.bio.base.algorithm.Algorithm):
return model_records
def save_model(self, model, model_file):
def write_model(self, model, model_file):
"""Saves the enrolled model to file using the pickle module."""
# just dump the model to .pkl file
utils.save_pickle(model, model_file)
......
......@@ -44,7 +44,6 @@ class LRPCA (bob.bio.base.extractor.Extractor):
def _check_image(self, image):
assert isinstance(image, numpy.ndarray)
assert image.ndim == 2
assert image.dtype == numpy.uint8
def _py_image(self, image):
"""Converts the given image to pyvision images."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment