Traceback (most recent call last):
File "C:\Users\朋友的朋\Desktop\诗歌生成\main.py", line 259, in <module>
train()
File "C:\Users\朋友的朋\Desktop\诗歌生成\main.py", line 137, in train
dataloader = t.utils.data.DataLoader(data,
AttributeError: module 'torch.utils' has no attribute 'data'
当我执行这里的诗歌生成代码时,出现了一个问题:
不知道什么意思,求指教。