GithubHelp home page GithubHelp logo

Missing label.counts about eesen HOT 3 CLOSED

tony-stark1 avatar tony-stark1 commented on June 11, 2024
Missing label.counts

from eesen.

Comments (3)

riebling avatar riebling commented on June 11, 2024

I think that file comes from here:

## Set up labels
labels_tr="ark:gunzip -c $dir/labels.tr.gz|"
labels_cv="ark:gunzip -c $dir/labels.cv.gz|"
# Compute the occurrence counts of labels in the label sequences. These counts will be used to derive prior probabilities of
# the labels.
gunzip -c $dir/labels.tr.gz | awk '{line=$0; gsub(" "," 0 ",line); print line " 0";}' | \
analyze-counts --verbose=1 --binary=false ark:- $dir/label.counts >& $dir/log/compute_label_counts.log || exit 1
##

from eesen.

tony-stark1 avatar tony-stark1 commented on June 11, 2024

So it looks like its failing to created the file due to this error:
ERROR (analyze-counts:ReadBasicType():base/io-funcs-inl.h:85) Read failure in ReadBasicType, file position is -1, next char is -1
WARNING (analyze-counts:Read():util/kaldi-holder-inl.h:255) BasicVectorHolder::Read, could not interpret line: 0 40 0 40 0 40 0 20 0 F 0 40 0 40 0

Which looks like something is going wrong when creating the labels.tr.gz file

from eesen.

icestoneking avatar icestoneking commented on June 11, 2024

So it looks like its failing to created the file due to this error:
ERROR (analyze-counts:ReadBasicType():base/io-funcs-inl.h:85) Read failure in ReadBasicType, file position is -1, next char is -1
WARNING (analyze-counts:Read():util/kaldi-holder-inl.h:255) BasicVectorHolder::Read, could not interpret line: 0 40 0 40 0 40 0 20 0 F 0 40 0 40 0

Which looks like something is going wrong when creating the labels.tr.gz file

hi,Is this problem solved?I also have this problem.

from eesen.

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.