Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.spear
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.spear
Commits
a033ac3e
There was a problem fetching the pipeline summary.
Commit
a033ac3e
authored
8 years ago
by
Amir Mohammadi
Browse files
Options
Downloads
Patches
Plain Diff
remove traces of voxforge, please install bob.db.voxforge to use voxforge
parent
61bec4a8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!24
Fix the filelist db interfaces
Pipeline
#
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
MANIFEST.in
+1
-1
1 addition, 1 deletion
MANIFEST.in
bob/bio/spear/database/__init__.py
+0
-2
0 additions, 2 deletions
bob/bio/spear/database/__init__.py
bob/bio/spear/database/database.py
+3
-9
3 additions, 9 deletions
bob/bio/spear/database/database.py
databases.txt
+0
-1
0 additions, 1 deletion
databases.txt
with
4 additions
and
13 deletions
MANIFEST.in
+
1
−
1
View file @
a033ac3e
include README.rst bootstrap-buildout.py buildout.cfg develop.cfg COPYING version.txt requirements.txt
databases.txt
include README.rst bootstrap-buildout.py buildout.cfg develop.cfg COPYING version.txt requirements.txt
recursive-include doc *.py *.rst
recursive-include bob/bio/spear/test/data *.hdf5 *.wav
recursive-include bob/bio/spear/config/database *.py *.lst
This diff is collapsed.
Click to expand it.
bob/bio/spear/database/__init__.py
+
0
−
2
View file @
a033ac3e
...
...
@@ -21,7 +21,6 @@
from
.database
import
AudioBioFile
from
.mobio
import
MobioBioDatabase
from
.voxforge
import
VoxforgeBioDatabase
from
.asvspoof
import
ASVspoofBioDatabase
from
.avspoof
import
AVspoofBioDatabase
from
.voicepa
import
VoicePABioDatabase
...
...
@@ -43,7 +42,6 @@ def __appropriate__(*args):
__appropriate__
(
AudioBioFile
,
MobioBioDatabase
,
VoxforgeBioDatabase
,
ASVspoofBioDatabase
,
AVspoofBioDatabase
,
VoicePABioDatabase
,
...
...
This diff is collapsed.
Click to expand it.
bob/bio/spear/database/database.py
+
3
−
9
View file @
a033ac3e
...
...
@@ -3,10 +3,6 @@
# Tiago de Freitas Pereira <tiago.pereira@idiap.ch>
# Wed 20 July 14:43:22 CEST 2016
"""
Verification API for bob.db.voxforge
"""
from
bob.bio.base.database.file
import
BioFile
import
scipy
import
numpy
...
...
@@ -20,10 +16,8 @@ class AudioBioFile(BioFile):
"""
super
(
AudioBioFile
,
self
).
__init__
(
client_id
=
client_id
,
path
=
path
,
file_id
=
file_id
)
def
load
(
self
,
directory
=
None
,
extension
=
'
.wav
'
):
def
load
(
self
,
directory
=
None
,
extension
=
'
.wav
'
):
rate
,
audio
=
scipy
.
io
.
wavfile
.
read
(
self
.
make_path
(
directory
,
extension
))
# We consider there is only 1 channel in the audio file => data[0]
data
=
numpy
.
cast
[
'
float
'
](
audio
)
return
rate
,
data
data
=
numpy
.
cast
[
'
float
'
](
audio
)
return
rate
,
data
This diff is collapsed.
Click to expand it.
databases.txt
deleted
100644 → 0
+
0
−
1
View file @
61bec4a8
bob.db.voxforge
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