Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move batching and field logic from inputter to dsets #1210

Merged
merged 9 commits into from
Jan 23, 2019
Prev Previous commit
Solution for img model backwards compatibility.
  • Loading branch information
flauted committed Jan 23, 2019
commit 266b904e75880d9e86a51cd453d9f2a5958c5321
2 changes: 2 additions & 0 deletions onmt/inputters/inputter.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
from onmt.utils.logging import logger
# backwards compatibility
from onmt.inputters.text_dataset import _feature_tokenize # noqa: F401
from onmt.inputters.image_dataset import ( # noqa: F401
batch_img as make_img)

import gc

Expand Down