我想用 pytorch 从 tsv 文件创建数据集。我正在考虑使用
torchtext.data.TabularDataset.splits
但我收到一条错误消息。
AttributeError:module 'torchtext.data' has no attribute 'TabularDataset'
我想用 pytorch 从 tsv 文件创建数据集。我正在考虑使用
torchtext.data.TabularDataset.splits
但我收到一条错误消息。
AttributeError:module 'torchtext.data' has no attribute 'TabularDataset'