Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Show more breadcrumbs
bob
bob.bio.face
Commits
8c516308
Commit
8c516308
authored
3 years ago
by
Laurent COLBOIS
Browse files
Options
Downloads
Patches
Plain Diff
Prepare for FRGC CSV file update + fix protocols list
parent
c2c8c96d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!139
FRGC fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/face/database/frgc.py
+6
-8
6 additions, 8 deletions
bob/bio/face/database/frgc.py
with
6 additions
and
8 deletions
bob/bio/face/database/frgc.py
+
6
−
8
View file @
8c516308
...
...
@@ -25,7 +25,7 @@ class FRGCDatabase(CSVDataset):
# Downloading model if not exists
urls
=
FRGCDatabase
.
urls
()
filename
=
get_file
(
"
frgc.tar.gz
"
,
urls
,
file_hash
=
"
328d2c71ae19a41679defa9585b3140f
"
"
frgc.tar.gz
"
,
urls
,
file_hash
=
"
e675840204c80eec41ef49ccb1c39240304a5c4fc0f16306120e3418f0ba9fda
"
)
super
().
__init__
(
...
...
@@ -35,10 +35,8 @@ class FRGCDatabase(CSVDataset):
csv_to_sample_loader
=
make_pipeline
(
CSVToSampleLoaderBiometrics
(
data_loader
=
bob
.
io
.
base
.
load
,
dataset_original_directory
=
rc
[
"
bob.db.frgc.directory
"
]
if
rc
[
"
bob.db.frgc.directory
"
]
else
""
,
extension
=
"
.JPG
"
,
dataset_original_directory
=
rc
.
get
(
"
bob.db.frgc.directory
"
,
""
),
extension
=
""
,
),
EyesAnnotations
(),
),
...
...
@@ -52,12 +50,12 @@ class FRGCDatabase(CSVDataset):
return
[
"
2.0.1
"
,
"
2.0.2
"
,
"
2.0.
3
"
,
"
2.0.
4
"
,
]
@staticmethod
def
urls
():
return
[
"
https://www.idiap.ch/software/bob/databases/latest/frgc.tar.gz
"
,
"
http://www.idiap.ch/software/bob/databases/latest/frgc.tar.gz
"
,
"
https://www.idiap.ch/software/bob/databases/latest/frgc
-e6758402
.tar.gz
"
,
"
http://www.idiap.ch/software/bob/databases/latest/frgc
-e6758402
.tar.gz
"
,
]
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