Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

export model-AttributeError: module 'torch.utils.data' has no attribute 'IterableDataset' #1490

Open
baiziyuandyufei opened this issue Oct 12, 2020 · 0 comments

Comments

@baiziyuandyufei
Copy link

Steps to reproduce

execute export model to caffe2 format model.
pytext export --output-path exported_model.c2 < demo/configs/docnn.json

Observed Results

  • AttributeError: module 'torch.utils.data' has no attribute 'IterableDataset'

Expected Results

  • the exported caffe2 format model

Relevant Code

pytext export --output-path exported_model.c2 < demo/configs/docnn.json
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant