Helsinki-NLP / Opus-MT

Open neural machine translation models and web services
MIT License
592 stars 71 forks source link

Websocket service: [Errno 111] Connection refused #34

Closed alokraj01 closed 3 years ago

alokraj01 commented 3 years ago

I was successful in transforming from French to Finnish and Finnish to English. But French to English didn't work for me with an error that 'unsupported language pair'. I checked the models here /usr/local/share/opusMT and found that fr-en model is present. Even for those pair which are working; It doesn't work when I mention host and port (default host and port works fine). It gives me an error that "ConnectionRefusedError: [Errno 111] Connection refused".

1) How to make language pair work with defined host and port (it works with default values)? 2) Some language pairs like fr-en don't work even with default host and port. It gives unsupported language pair error.

image image

alokraj01 commented 3 years ago

It is resolved. marian-server wasn't getting installed locally.