Giter VIP home page Giter VIP logo

Comments (4)

rsennrich avatar rsennrich commented on June 14, 2024 1

you'll have to follow one of the earlier steps in the tutorial to make this work (and this isn't persistent, so you'll have to repeat this for each session or add it to your .bashrc file:

export PYTHONPATH=$(pwd)/subword-nmt:$PYTHONPATH

(if you add it to your .bashrc file, make sure to provide the absolute path, not the one relative to your working directory ($(pwd)))

PS: the recommended way to install/execute apply_bpe is shown in the README - the tutorial doesn't properly install subword-nmt.

from subword-nmt.

RamoramaInteractive avatar RamoramaInteractive commented on June 14, 2024

Hi Rico,

After re-adding export PYTHONPATH=$(pwd)/subword-nmt:$PYTHONPATH I was able to execute the translation, but it didn't return the expected outputhe is a great guy and a family father .`, but nothing.

I will try the recommended installation in the README next.

from subword-nmt.

rsennrich avatar rsennrich commented on June 14, 2024

you can check if this error is related to subword-nmt by only executing the top three lines of the script (without the trailing | \). If this works properly, it's probably a problem with Sockeye. Remove the 2>/dev/null part so you get error messages.

from subword-nmt.

RamoramaInteractive avatar RamoramaInteractive commented on June 14, 2024

I found a solution for my problem! :)

My model hasn't even trained yet, so I probably couldn't do any translation due to the missing data like "metrics" and the "params".

What I find funny, I had to rewrite the Sockeye code like in the last WMT 2014 English-German Tutorial: https://awslabs.github.io/sockeye/tutorials/wmt_large.html

Here is another link with important hints: awslabs/sockeye#981

from subword-nmt.

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.