Skip to content

Conversation

@Mocchaso
Copy link

  • before: top of this python code
  • after: constructor of class ShardedTextCorpusIterator(object).

In before state, an error cannnot import name TextDataset was caused at onmt/IO.py.

I thought that this is because onmt/IO.py and onmt/TextDataset.py tried to import each other.
※reference: resolve ImportError: cannot import name (Japanese Qiita article)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant