You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the tfds.deprecated module has been removed from the TensorFlow Datasets. I get this error.
Shuffling...
Loading tokenizers...
No tokenizers has been created yet, creating new tokenizers...
Traceback (most recent call last):
File "/home/adam/transformer-nmt-chatbot/main.py", line 81, in init
self.inputs_tokenizer, self.outputs_tokenizer = load_tokenizers(
File "/home/adam/transformer-nmt-chatbot/utils.py", line 57, in load_tokenizers
inputs_tokenizer = tfds.deprecated.text.SubwordTextEncoder.load_from_file(inputs_savepath)
AttributeError: module 'tensorflow_datasets' has no attribute 'deprecated'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/adam/transformer-nmt-chatbot/main.py", line 257, in
chatbot = Chatbot(CONFIG_PATH)
File "/home/adam/transformer-nmt-chatbot/main.py", line 85, in init
self.inputs_tokenizer, self.outputs_tokenizer = create_tokenizers(
File "/home/adam/transformer-nmt-chatbot/utils.py", line 44, in create_tokenizers
inputs_tokenizer = tfds.deprecated.text.SubwordTextEncoder.build_from_corpus(
AttributeError: module 'tensorflow_datasets' has no attribute 'deprecated'
The text was updated successfully, but these errors were encountered:
It looks like the tfds.deprecated module has been removed from the TensorFlow Datasets. I get this error.
Shuffling...
Loading tokenizers...
No tokenizers has been created yet, creating new tokenizers...
Traceback (most recent call last):
File "/home/adam/transformer-nmt-chatbot/main.py", line 81, in init
self.inputs_tokenizer, self.outputs_tokenizer = load_tokenizers(
File "/home/adam/transformer-nmt-chatbot/utils.py", line 57, in load_tokenizers
inputs_tokenizer = tfds.deprecated.text.SubwordTextEncoder.load_from_file(inputs_savepath)
AttributeError: module 'tensorflow_datasets' has no attribute 'deprecated'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/adam/transformer-nmt-chatbot/main.py", line 257, in
chatbot = Chatbot(CONFIG_PATH)
File "/home/adam/transformer-nmt-chatbot/main.py", line 85, in init
self.inputs_tokenizer, self.outputs_tokenizer = create_tokenizers(
File "/home/adam/transformer-nmt-chatbot/utils.py", line 44, in create_tokenizers
inputs_tokenizer = tfds.deprecated.text.SubwordTextEncoder.build_from_corpus(
AttributeError: module 'tensorflow_datasets' has no attribute 'deprecated'
The text was updated successfully, but these errors were encountered: