Git Product home page Git Product logo

Comments (6)

csukuangfj avatar csukuangfj commented on June 20, 2024

I use --max-duration=20

What if you change it to --max-duration=1 so that there is only one utterance in a batch when using decode.py?

There is a convolutional layer in the conformer model and the padding in a batch may affect the result.

from icefall.

csukuangfj avatar csukuangfj commented on June 20, 2024

I see the feature extraction is not the same, will this be the reason?

Both feature extractors use the same parameters and should produce the same features.

from icefall.

tz301 avatar tz301 commented on June 20, 2024

I use --max-duration=20

What if you change it to --max-duration=1 so that there is only one utterance in a batch when using decode.py?

There is a convolutional layer in the conformer model and the padding in a batch may affect the result.

I have use --max-duration=1 for decode, but meet MemoryError below. Also print the batch data for error.

err

from icefall.

danpovey avatar danpovey commented on June 20, 2024

Can you try doing
export K2_SYNC_KERNELS=1
and rerunning? Error might be earlier.

from icefall.

tz301 avatar tz301 commented on June 20, 2024

Can you try doing export K2_SYNC_KERNELS=1 and rerunning? Error might be earlier.

I export K2_SYNC_KERNELS=1 and run again, see below.

err1

from icefall.

danpovey avatar danpovey commented on June 20, 2024

Hm, I think we're not quite drilling down into the error yet. Looks like the error may have occurred in _k2.index, which goes to C++ code. See if you can find it by running with gdb; you may need to do 'catch throw'.
e.g.:
gdb --args python3 something.py --opt1 foo ... etc.
(gdb) catch throw
(gdb) r
...you may have to "continue":
(gdb) c
if there are previous exceptions that are ignored by the program.
once you get to where the exception is raised, see if you can print out any relevant-looking local variables.

from icefall.

Related Issues (20)

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.