Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
interface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
homeostasis
interface
Commits
429ded8f
Commit
429ded8f
authored
10 years ago
by
Benoit Favre
Browse files
Options
Downloads
Patches
Plain Diff
adaptation to archlinux vm
parent
6d636799
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
main.py
+1
-1
1 addition, 1 deletion
main.py
slu.py
+1
-1
1 addition, 1 deletion
slu.py
slu/src/Makefile
+1
-1
1 addition, 1 deletion
slu/src/Makefile
start.sh
+5
-1
5 additions, 1 deletion
start.sh
with
8 additions
and
4 deletions
main.py
+
1
−
1
View file @
429ded8f
...
...
@@ -6,7 +6,7 @@ import glob, re
# set to location of libgstkaldionline2.so
directory
=
os
.
path
.
dirname
(
__file__
)
or
'
.
'
os
.
environ
[
'
GST_PLUGIN_PATH
'
]
=
directory
+
'
/asr/
'
os
.
environ
[
'
GST_PLUGIN_PATH
'
]
=
directory
+
'
/asr/
gst
'
os
.
environ
[
'
GTK_THEME
'
]
=
'
light
'
print
'
gst plugin path =
'
,
os
.
environ
[
'
GST_PLUGIN_PATH
'
]
...
...
This diff is collapsed.
Click to expand it.
slu.py
+
1
−
1
View file @
429ded8f
...
...
@@ -7,7 +7,7 @@ _semaphore = None
class
SLU
:
#/src.new/rocio_slu -word "$prefix"_dico_word.txt -action "$prefix"_dico_action.txt -fstmodel "$prefix".fst -fstclean "$prefix"_clean_tail.fst
def
__init__
(
self
,
word_lexicon
,
action_lexicon
,
model_fst
,
cleaner_fst
,
library
=
'
slu/src
.new
/librocio_slu.so
'
):
def
__init__
(
self
,
word_lexicon
,
action_lexicon
,
model_fst
,
cleaner_fst
,
library
=
'
slu/src/librocio_slu.so
'
):
global
_backend
,
_semaphore
if
_backend
==
None
:
_backend
=
cdll
.
LoadLibrary
(
library
)
...
...
This diff is collapsed.
Click to expand it.
slu/src/Makefile
+
1
−
1
View file @
429ded8f
...
...
@@ -3,7 +3,7 @@
CC
=
g++
CPPFLAGS
+=
-I
.
-lfst
-I
/storage/raid1/homedirs/frederic.beche
t/tools/openfst
-1.3.3/src
/include
-L
/storage/raid1/homedirs/frederic.bechet/tools/openfst-1.3.3/src/lib/.libs
-ldl
-std
=
c++0x
-g
-Wall
CPPFLAGS
+=
-I
.
-lfst
-I
$(
HOME
)
/kaldi-rocio.gi
t/tools/openfst/include
-L
$(
HOME
)
/kaldi-rocio.git/tools/openfst/lib/
-ldl
-std
=
c++0x
-g
-Wall
all
:
rocio_slu process_xml_for_slu
...
...
This diff is collapsed.
Click to expand it.
start.sh
+
5
−
1
View file @
429ded8f
LD_LIBRARY_PATH
=
/home/favre/work/kaldi/dictate/aur-atlas-lapack/pkg/atlas-lapack/usr/lib/ python2 main.py
#export OPENBLAS_NUM_THREADS=1
#export OMP_NUM_THREADS=1
#LD_LIBRARY_PATH=$HOME/kaldi-rocio.git/src/lib/:$HOME/kaldi-rocio.git/tools/openfst/lib/ python2 main.py
dir
=
`
dirname
$0
`
LD_LIBRARY_PATH
=
$dir
/asr/libs:
$dir
/asr/libs/fst:
$dir
/asr/libs/atlas python2 main.py
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