Giter Site home page Giter Site logo

neural-acoustic-word-embeddings's People

Contributors

shane-settle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.