Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.db.cuhk_cufs
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.db.cuhk_cufs
Merge requests
!2
bob.db.base.File does not accept client_id
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
bob.db.base.File does not accept client_id
refactoring_2016
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Amir MOHAMMADI
requested to merge
refactoring_2016
into
master
8 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e444c1a2
1 commit,
8 years ago
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bob/db/cuhk_cufs/models.py
+
2
−
1
View file @ e444c1a2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -155,7 +155,8 @@ class File(Base, bob.db.base.File):
def
__init__
(
self
,
id
,
image_name
,
client_id
,
modality
):
# call base class constructor
bob
.
db
.
base
.
File
.
__init__
(
self
,
file_id
=
id
,
client_id
=
client_id
,
path
=
image_name
)
bob
.
db
.
base
.
File
.
__init__
(
self
,
file_id
=
id
,
path
=
image_name
)
self
.
client_id
=
client_id
self
.
modality
=
modality
def
annotations
(
self
,
annotation_type
=
"
eyes_center
"
):
Loading