Git Product home page Git Product logo

Comments (8)

awni avatar awni commented on July 19, 2024

This means your PYTHONPATH is not set correctly. I would double check that when you source setup.sh the paths are being set appropriately. In particular:

echo $PYTHONPATH and make sure that the path to the repository is there.

One possible error is that the source setup.sh must be done from the top level directory (speech/).

from speech.

exploer avatar exploer commented on July 19, 2024

when I exec "echo $PYTHONPATH", It tells me “..../speech-master/libs/warp-ctc/pytorch_binding: ", is it correct? @awni

from speech.

awni avatar awni commented on July 19, 2024

No it's not correct, it should be something like:

<path_to>/speech-master/..:<path_to>/speech-master/libs/warp-ctc/pytorch_binding:

I'm not sure why the setup.sh script didn't work for you. I'll try to find a way to reproduce this, but in the meantime, you can set the path manually for now or debug the setup.sh script yourself and submit a patch if you figure out the issue. The script is not complicated, just two lines.

from speech.

exploer avatar exploer commented on July 19, 2024

It is OK. ".../speech-master/..:/home/pupil/win/speech-master/libs/warp-ctc/pytorch_binding:". But it still t tells me "ImportError: No module named speech". @awni

from speech.

awni avatar awni commented on July 19, 2024

Oops, I get the problem now, the module name is the repo name (bad design!). If you change the repo from speech-master to speech it should work.

I will file an issue to fix the package structure so this does not break.

from speech.

exploer avatar exploer commented on July 19, 2024

sorry, I cannot catch you. I do not find that any folder named speech. can you tell me more Specific measures.

from speech.

exploer avatar exploer commented on July 19, 2024

when I exec "sudo make", it tells me "ImportError: No module named torch", it works good yesterday,
what happend? @awni

from speech.

awni avatar awni commented on July 19, 2024

If you change the name of the repository from speech-master to speech it should solve the import speech error.

from speech.

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.