neural-acoustic-word-embeddings's People
neural-acoustic-word-embeddings's Issues
Tensorflow OOM Error
Hi,
the model can be trained on the switchboard dataset all the 100 epochs. But when I transfered the experiment to a larger dataset(500h), it occurs out-of-memory problem in the training iterations, not at the beginning of the experiment. I have checked so many respects but always useless, can you help me? Thanks a lot.
hot fix for extract-rows removal from new version kaldi
Hi,
if you run the kaldi/run.sh script with newer kaldi version. you will get an error because extract-rows is removed from kaldi. A workaround is to use the following code instead:
extract-feature-segments --snip-edges=false "scp:$scp_file" $queries/$partition/intervals "ark,scp:$queries/$partition/mfcc.ark,$queries/$partition/mfcc.scp"
but "extract-feature-segments" takes start and end segments in seconds while "extract-rows" takes start and end index of the matrix.
you can do this by modifying get_intervals.py code. i didn't spend much time for changing, but here is the fast solution starting from line 62:
if utt is not None:
query_id = "%s_%s_%s" % (query, convside, query_interval)
interval_in_sec = list(map(lambda x, y: str(float(x) / 100 - float(y)/100), query_interval.split('-'), [utt.split('-')[0]]*2))
utt_id = "%s_%s" % (convside, utt)
query_intervals.append("%s %s %s" % (query_id, utt_id , ' '.join(interval_in_sec)))
#query_intervals.append("%s %s %s" % (query_id, utt_id, utt_query_range))
return sorted(query_intervals)
I hope it helps
Multi-GPU imple
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.