another little problem in 3_decoding_tutorial
See original GitHub issueHi @lvapeab
there is some error when i run
>>>filepath = nmt_model.model_path+'/' + 'test' + '_sampling.pred' # results file
>>>import utils
>>> utils.read_write.list2file(filepath, predictions)
Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'read_write'
Should i use the module of keras_wrapper?
>>> import keras_wrapper
>>> keras_wrapper.extra.read_write.list2file(filepath, predictions)
>>>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Word Decoding and Phonics - Reading Rockets
Decoding is the ability to apply your knowledge of letter-sound relationships, including knowledge of letter patterns, to correctly pronounce written words.
Read more >Huffman Decoding - GeeksforGeeks
Follow the below steps to solve the problem: Note: To decode the encoded data we require the Huffman tree. We iterate through the...
Read more >Protocol Buffer Basics: C++ - Google Developers
This can be a good choice if you want to share data with other applications/projects. However, XML is notoriously space intensive, and encoding/decoding...
Read more >Decoding methods - Wikipedia
In coding theory, decoding is the process of translating received messages into codewords of a given code. There have been many common methods...
Read more >List-Decoding Reed-Muller Codes over Small Fields
[11], other list-decoders for Hadamard codes were given by ... an mO(r) local algorithm that solves the decoding problem up to an error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lvapeab, it works ,Thanks. >_<
Ok. You need to decode your predictions before evaluating. I.e., transform them from indices to words. Try to follow the (updated) tutorial from box 6 (In [6]:).