我正在Windows 11,Python3.9,virtualenv中尝试这个源代码
https://github.com/master0fcha0s/lstm-pytorch/blob/master/flights-lstm.ipynb
我在DataBunch中得到了这个错误,我找不到需要导入的内容
NameError: name 'DataBunch' is not defined发布于 2022-06-30 03:20:39
在当前版本的DataBunch中不推荐使用Fast.ai。要么使用具有数据库的FastAI1 https://fastai1.fast.ai/basic_data.html#DataBunch,要么在https://docs.fast.ai上使用当前版本
https://stackoverflow.com/questions/71414557
复制相似问题