AttributeError:模块“torchtext.data”没有属性“TablerDataset”

2024-09-29 19:21:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我想用pytorch从tsv文件创建一个数据集。 我在考虑使用

torchtext.data.TabularDataset.splits

但我收到一条错误信息

AttributeError:module 'torchtext.data' has no attribute 'TabularDataset'

Tags: 数据nodatatsvattributepytorchattributeerrorhas

热门问题