anirudhacharya opened a new issue #14872: Error when trying to generate text with sequence sampling URL: https://github.com/apache/incubator-mxnet/issues/14872 Encountering the following error when I try to run this [sequence sampler example](https://github.com/dmlc/gluon-nlp/blob/master/scripts/text_generation/sequence_sampling.py) from gluon-nlp toolkit - ```bash Namespace(alpha=0.0, beam_size=2, bos=['I love it'], eos='.', gpu=None, k=5, lm_model='awd_lstm_lm_1150', max_length=20, print_num=1, temperature=1.0, use_beam_search=False, use_sampling=True) terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 1) >= this->size() (which is 1) Aborted (core dumped) ``` The error was likely introduced in this commit 3f3ba92ae1468d08de088d2291ca14e2d5dc5515 cc @reminisce
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
