Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.hci_tagging
Commits
f0347f69
Commit
f0347f69
authored
Nov 17, 2015
by
Guillaume HEUSCH
Browse files
[init] fixed hci (full protocol) argument
parent
c92de52a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/db/hci_tagging/__init__.py
View file @
f0347f69
...
...
@@ -41,7 +41,7 @@ class Database(object):
d
=
resource_filename
(
__name__
,
os
.
path
.
join
(
'data'
,
'li_samples_cvpr14.txt'
))
with
open
(
d
,
'rt'
)
as
f
:
sessions
=
f
.
read
().
split
()
return
[
File
(
**
k
)
for
k
in
self
.
metadata
if
k
[
'basedir'
]
in
sessions
]
el
s
e
:
el
if
protocol
is
not
Non
e
:
raise
RuntimeError
(
'Protocol should be either "cvpr14" or not set. The value %s is not valid'
%
protocol
)
return
[
File
(
**
k
)
for
k
in
self
.
metadata
]
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