adiyoss / deepvot Goto Github PK
View Code? Open in Web Editor NEWAutomatic Measurement of Voice Onset Time (VOT) using Deep Recurrent Neural Networks (Interspeech 2016)
License: MIT License
Automatic Measurement of Voice Onset Time (VOT) using Deep Recurrent Neural Networks (Interspeech 2016)
License: MIT License
Hi,
While I love the effort, there are many dependencies and library paths that need to be set up to get this to work.
On OSX Catallina (and after having installed according to the instructions) i get this:
$ python predict.py test_data/orig/bun.wav test_data/prediction/bun.TextGrid 0.0 0.2
1) Extracting features and classifying ...
12:17:37.946 [VotFrontEnd2] INFO: Processing 1 instances.
12:17:37.964 [VotFrontEnd2] INFO: Features extraction completed.
==> processing options
==> load test file
==> loading model
/Users/frkkan96/torch/install/bin/luajit: /Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <nn.LinearNoBias>
stack traceback:
[C]: in function 'error'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/Users/frkkan96/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
classify_multi_class.lua:64: in main chunk
[C]: in function 'dofile'
...an96/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x010c4e9b00
3) Extract Durations ...
Traceback (most recent call last):
File "predict.py", line 57, in <module>
predict(args.input_path, args.output_path, args.start_extract, args.end_extract)
File "predict.py", line 38, in predict
post_process(prob_file, predict_file)
File "/Users/frkkan96/Documents/src/DeepVOT/run_all/post_process.py", line 12, in post_process
with open(prob_file) as f:
IOError: [Errno 2] No such file or directory: '/Users/frkkan96/Documents/src/DeepVOT/run_all/tmp_files/tmp.prob'
It seems that torch cannot find the rnn library I installed. So, how do I make it find the library?
Trying to run DeepVOT on Scientific Linux 7.6. macOS is unfortunately not an option.
All deps satisfied inc'l sox but the other Mach-O executables in run_all/sbin are a showstopper.
Any chance for x86_64 binaries, or a way to build from source?
Hi,
I am kinda rookie.
I am running Mac OS10.15: Catalina.
I tried running the test example using
python predict.py test_data/orig/bun.wav test_data/prediction/bun.TextGrid 0.0 0.2
I get the following errors:
`1) Extracting features and classifying ...
/bin/sh: sbin/sox: Bad CPU type in executable
00:24:20.532 [VotFrontEnd2] INFO: Processing 1 instances.
Errror: Could not open file tmp/tmp.wav for reading.
==> processing options
==> load test file
==> ERROR: cannot read file.
/Users/XXXX/torch/install/bin/lua: utils.lua:47: attempt to index global 'dims' (a nil value)
stack traceback:
utils.lua:47: in function 'load_data'
classify_multi_class.lua:53: in main chunk
[C]: in function 'dofile'
...rs02/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?
Any pointer will be highly appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.