Data Error ?
See original GitHub issueThis is the error log I get while reinstalling and running the model with python3 main.py
. Any fixes/suggestions with keras_wrapper ?
Using Theano backend.
[02/08/2020 11:27:52] <<< Cupy not available. Using numpy. >>>
[02/08/2020 11:27:52] Running training.
[02/08/2020 11:27:52] Building mydata5_enhi dataset
[02/08/2020 11:27:53] Applying tokenization function: "tokenize_none".
[02/08/2020 11:27:53] Creating vocabulary for data with data_id 'target_text'.
[02/08/2020 11:27:53] Total: 42963 unique words in 80000 sentences with a total of 466800 words.
[02/08/2020 11:27:53] Creating dictionary of all words
[02/08/2020 11:27:53] Loaded "train" set outputs of data_type "text" with data_id "target_text" and length 80000.
[02/08/2020 11:27:53] Loaded "train" set outputs of type "file-name" with id "raw_target_text".
[02/08/2020 11:27:53] Applying tokenization function: "tokenize_none".
[02/08/2020 11:27:53] Loaded "val" set outputs of data_type "text" with data_id "target_text" and length 1800.
[02/08/2020 11:27:53] Loaded "val" set outputs of type "file-name" with id "raw_target_text".
[02/08/2020 11:27:53] Applying tokenization function: "tokenize_none".
[02/08/2020 11:27:53] Loaded "test" set outputs of data_type "text" with data_id "target_text" and length 1200.
[02/08/2020 11:27:53] Loaded "test" set outputs of type "file-name" with id "raw_target_text".
[02/08/2020 11:27:53] Applying tokenization function: "tokenize_none".
[02/08/2020 11:27:53] Creating vocabulary for data with data_id 'source_text'.
[02/08/2020 11:27:54] Total: 34428 unique words in 80000 sentences with a total of 401199 words.
[02/08/2020 11:27:54] Creating dictionary of all words
Traceback (most recent call last):
File "main.py", line 49, in <module>
train_model(parameters, args.dataset)
File "/home/pandramish.vinay/nmt-keras/nmt_keras/training.py", line 62, in train_model
dataset = build_dataset(params)
File "/home/pandramish.vinay/nmt-keras/data_engine/prepare_data.py", line 192, in build_dataset
bpe_codes=params.get('BPE_CODES_PATH', None))
File "/home/pandramish.vinay/.local/lib/python3.5/site-packages/keras_wrapper/dataset.py", line 1255, in setInput
add_additional)
File "/home/pandramish.vinay/.local/lib/python3.5/site-packages/keras_wrapper/dataset.py", line 1282, in __setInput
self.__checkLengthSet(set_name)
File "/home/pandramish.vinay/.local/lib/python3.5/site-packages/keras_wrapper/dataset.py", line 4978, in __checkLengthSet
lengths.append(len(getattr(self, 'Y_' + set_name)[id_out]))
KeyError: 'raw_target_text'
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Definition of data error - PCMag
A condition in which data on a digital medium has been altered erroneously. The error can manifest as several incorrect bits or even...
Read more >Data error definition and meaning | Collins English Dictionary
Data error definition: You can refer to information as data , especially when it is in the form of facts or... | Meaning,...
Read more >Data error - Encyclopedia - The Free Dictionary
A condition in which data on a digital medium has been altered erroneously. The error can manifest as several incorrect bits or even...
Read more >5 Common data entry errors and ways to prevent them
5 common data entry errors · Inaccurate data inputs · Wrong data formatting · Transposition error · Representation/unit inconsistencies · Data ...
Read more >DATA and ERROR ANALYSIS
DATA and ERROR ANALYSIS. Performing the experiment and collecting data is only the beginning of the process of completing an experiment in science....
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
Hey, apologies for not updating…the current version works perfectly fine !
Sometimes it fails… but other times it works? Weird
Can you share your
config.py
file?