Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError: Fast decoding only supports a single shard. #191

Open
kannadaraj opened this issue Apr 16, 2020 · 0 comments
Open

NotImplementedError: Fast decoding only supports a single shard. #191

kannadaraj opened this issue Apr 16, 2020 · 0 comments

Comments

@kannadaraj
Copy link

kannadaraj commented Apr 16, 2020

Hi,

Thanks for this great repo. But this error after trying to use a newly trained model.
decoding command g2p-seq2seq --decode 1 --model_dir ./models --return_beams --beam_size 2
Error

python3.6/site-packages/tensor2tensor-1.7.0-py3.6.egg/tensor2tensor/models/transformer.py", line 497, in _fast_decode
    raise NotImplementedError("Fast decoding only supports a single shard.")
NotImplementedError: Fast decoding only supports a single shard

Please can anyone help?

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

No branches or pull requests

1 participant