Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Unable to export model #366

Open
sugeeth14 opened this issue Mar 5, 2019 · 5 comments
Open

Unable to export model #366

sugeeth14 opened this issue Mar 5, 2019 · 5 comments

Comments

@sugeeth14
Copy link

Hi,
After following instructions given in https://github.com/pytorch/translate#install-translate-from-source
I ran https://github.com/pytorch/translate/blob/master/pytorch_translate/examples/train_iwslt14.sh and also succesfully exported the model using https://github.com/pytorch/translate/blob/master/pytorch_translate/examples/export_iwslt14.sh to generate .pb files. But when I try to run echo "hallo welt" | bash pytorch_translate/examples/translate_iwslt14.sh
I get error saying that there is no translation_decoder in cpp/build directory. Did I do any mistake please elaborate the procedure so that the export to Caffe2 is easily reproducable.
Thanks in advance.

@jmp84
Copy link
Contributor

jmp84 commented Mar 5, 2019

Hi @raghava14, we are migrating to a different method for running exported models. For now, for generation, use code similar to https://github.com/pytorch/translate/blob/master/pytorch_translate/examples/generate_iwslt14.sh

@sugeeth14
Copy link
Author

Thanks for the reply. Please update when it is available. I am trying to export transformer_base model currently to Caffe2.

@aastha19
Copy link

Hi @raghava14, I am getting the same error as you. Did you make any progress? If yes, kindly share.

@sugeeth14
Copy link
Author

Hi @aastha19 no I didn't make any progress as of now I will share if I do. Also please let me know if you make any.
Thanks.

@aastha19
Copy link

@raghava14 Sure.
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants