Core dump while running server.py

Hi,

 I am creating a virtual environment in anaconda. While running server.py in the created

environment, I am getting a core dump issue. Please find the below error message:

(opennmt) administrator@~/OpenNMT-py$ python3 -m pdb server.py --ip “0.0.0.0” --port “7790” --url_root “/translator” --config "./available_models/conf_pyonmttok.json"
> /home/administrator/OpenNMT-py/server.py(2)()
-> import configargparse
(Pdb) n
> /home/administrator/OpenNMT-py/server.py(4)()
-> from flask import Flask, jsonify, request
(Pdb) n
> /home/administrator/OpenNMT-py/server.py(5)()
-> from onmt.translate import TranslationServer, ServerModelError
(Pdb) n
Illegal instruction (core dumped)
(opennmt) administrator@~/OpenNMT-py$

The above is captured while debugging. There is core dump while importing TranslationServer, ServerModelError.

Please someone assist me in resolving the Core Dump issue.

Regards,
Kishor

did you follow this tuto ?

Dear Vincent,

I have followed the tutorial for creating the simple REST OpenNMT-py server. 

The issue is resolved by reinstalling the torch.

Thank You for the support.
Kishor.