2024-09-29 19:21:07 发布
网友
我想用pytorch从tsv文件创建一个数据集。 我在考虑使用
torchtext.data.TabularDataset.splits
但我收到一条错误信息
AttributeError:module 'torchtext.data' has no attribute 'TabularDataset'
试试torchtext.legacy.data.TabularDataset.splits
torchtext.legacy.data.TabularDataset.splits
试试
torchtext.legacy.data.TabularDataset.splits
相关问题 更多 >
编程相关推荐