Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.bio.csu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.bio.csu
Commits
d0465cd4
Commit
d0465cd4
authored
Jun 18, 2015
by
Manuel Günther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed small issues.
parent
1145e469
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
bob/bio/csu/algorithm/LRPCA.py
bob/bio/csu/algorithm/LRPCA.py
+1
-1
bob/bio/csu/extractor/LRPCA.py
bob/bio/csu/extractor/LRPCA.py
+0
-1
No files found.
bob/bio/csu/algorithm/LRPCA.py
View file @
d0465cd4
...
...
@@ -74,7 +74,7 @@ class LRPCA (bob.bio.base.algorithm.Algorithm):
return
model_records
def
sav
e_model
(
self
,
model
,
model_file
):
def
writ
e_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
)
...
...
bob/bio/csu/extractor/LRPCA.py
View file @
d0465cd4
...
...
@@ -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."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment