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

sample -start_text seems to fail support unicode. #133

Closed
vi opened this issue Aug 13, 2016 · 2 comments
Closed

sample -start_text seems to fail support unicode. #133

vi opened this issue Aug 13, 2016 · 2 comments

Comments

@vi
Copy link

vi commented Aug 13, 2016

Specifying UTF-8 to -start_text fails:

/home/vi/home/deepstyle/r/torch/install/bin/luajit: /home/vi/home/deepstyle/r/torch-rnn/LanguageModel.lua:129: Got invalid idx
stack traceback:
    [C]: in function 'assert'
    /home/vi/home/deepstyle/r/torch-rnn/LanguageModel.lua:129: in function 'encode_string'
    /home/vi/home/deepstyle/r/torch-rnn/LanguageModel.lua:174: in function 'sample'
    /home/vi/home/deepstyle/r/torch-rnn/sample.lua:41: in main chunk
    [C]: in function 'dofile'
    ...le/r/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
    [C]: at 0x00406670
@smartynov
Copy link

Is'n it a duplicate of #47 ?

@vi
Copy link
Author

vi commented Aug 15, 2016

Yes.

@vi vi closed this as completed Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants