tensor2tensor icon indicating copy to clipboard operation
tensor2tensor copied to clipboard

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

Open aidenmccomiskey opened this issue 4 years ago • 0 comments

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"""

aidenmccomiskey avatar Jul 14 '21 12:07 aidenmccomiskey