marian-nmt / marian-examples

Examples, tutorials and use cases for Marian, including our WMT-2017/18 baselines.
Other
78 stars 34 forks source link

Modify example scripts to run on Windows #10

Closed cedrou closed 6 years ago

cedrou commented 6 years ago

The scripts run-me.sh of all examples for Marian have been slightly modified to be able to run on Windows Subsystem for Linux (WSL, aka "bash on Windows", see this page).

There are only 2 changes:

emjotde commented 6 years ago

@cedrou The examples are meant to be run from within the Marian folder, for instance the most recent version of https://github.com/marian-nmt/marian has a gitmodule that pulls that in and places the examples folder in the marian folder. Can you make sure this works? The changed paths look like they might get in the way.

cedrou commented 6 years ago

The scripts should work like before. The only change I did was to move the ´/build’ part of the path that appeared at each tool call into the MARIAN variable.