Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.example.faceverify
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.example.faceverify
Commits
90e8370a
Commit
90e8370a
authored
12 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Enabled the logging system in the DCT-UBM exmple.
parent
486789fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
faceverify/dct_ubm.py
+9
-0
9 additions, 0 deletions
faceverify/dct_ubm.py
with
9 additions
and
0 deletions
faceverify/dct_ubm.py
+
9
−
0
View file @
90e8370a
...
@@ -4,6 +4,15 @@ import os, sys
...
@@ -4,6 +4,15 @@ import os, sys
import
numpy
import
numpy
from
matplotlib
import
pyplot
from
matplotlib
import
pyplot
# setup the logging system
import
logging
formatter
=
logging
.
Formatter
(
"
%(name)s@%(asctime)s -- %(levelname)s: %(message)s
"
)
logger
=
logging
.
getLogger
(
"
bob
"
)
for
handler
in
logger
.
handlers
:
handler
.
setFormatter
(
formatter
)
logger
.
setLevel
(
logging
.
INFO
)
# This is the base directory where by default the AT&T images are found. You can
# This is the base directory where by default the AT&T images are found. You can
# overwrite this directory on the command line
# overwrite this directory on the command line
global
ATNT_IMAGE_DIRECTORY
global
ATNT_IMAGE_DIRECTORY
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment