tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.11k stars 3.44k forks source link

Using own dataset, failing. NameError: name 'translate' is not defined #1892

Open aidenmccomiskey opened 2 years ago

aidenmccomiskey commented 2 years ago

Hi, am trying to use my own dataset, but when I try to define my problem, I try to use translate.Translateproblem because I will be using ECoG signals. I get:

NameError: name 'translate' is not defined

Here is the code:

@registry.register_problem
class TranslateMnzhBpe32k(text_problems.Text2TextProblem): # should I use text_problems.Text2TextProblem ?
  """Translate ECoG signals to english text"""