使用FastAI和PyTorch“无法获取属性'ImageList'”

时间:2019-11-12 02:37:52

标签: python python-3.x pytorch fast-ai

版本号:

torchvision: 0.3.0
torch: 1.1.0
fastai: 1.0.57

毫无疑问,加载模型时,我总是遇到此错误:Can't get attribute 'ImageList'。我使用load_learner(".", fname="model.pkl")加载模型,并且该文件在文件夹(final.pthmodel.pklclasses.txt中包含相关文件,但似乎根本无法正常工作。我已经检查过互联网,但是对ImageList却一无所获。

完整错误:AttributeError: Can't get attribute 'ImageList' on <module 'fastai.vision.data' from '/python3.6/site-packages/fastai/vision/data.py'>

0 个答案:

没有答案
相关问题