Menu

How should I test this command ( g2p-seq2seq --interactive --model model_folder_path)

Help
rezaee
2016-09-28
2016-09-28
  • rezaee

    rezaee - 2016-09-28

    where and how should I test this command? when I'm trying i get this Error:

    root@localhost:/home/m/Desktop/cmusphinx/g2p-seq2seq-master#   g2p-seq2seq --interactive --model /home/m/Desktop/cmusphinx/g2p-seq2seq-cmudict/
    bash: g2p-seq2seq: command not found
    
     
    • Nickolay V. Shmyrev

      You need to install g2p-seq2seq with

       sudo setup.py install
      

      it will install binary script in /usr/local/bin. If you don't have /usr/local/bin in PATH you should add it or invoke with an absolute path:

      /usr/local/bin/g2p-seq2seq --interactive --model /home/m/Desktop/cmusphinx/g2p-seq2seq-cmudict
      
       
  • rezaee

    rezaee - 2016-09-28

    thanks but when I'm trying this:

    python setup.py install
    

    I get this Error:

    Reading https://pypi.python.org/simple/tensorflow/
    No local packages or working download links found for tensorflow
    error: Could not find suitable distribution for Requirement.parse('tensorflow')
    
     
    • Nickolay V. Shmyrev

      You need to install tensorflow first as pointed in README installation instructions.

       
      • rezaee

        rezaee - 2016-09-28

        I did it for python 3 but it didnt work. but solved now

         
  • rezaee

    rezaee - 2016-09-28

    I installed the tensorflow for python2 and solved the problem!
    thanks again

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.