运行深度学习模型
from Dreamfields import helpers
AttributeError Traceback (most recent call last)
in
1 from dreamfields import augment
2 from dreamfields import helpers
3 from dreamfields import log
4 from dreamfields import mipnerf
5 from dreamfields import scene
12 frames
/usr/local/lib/python3.7/dist-packages/PIL/Image.py in getattr(name)
59 _raise_version_warning()
60 return version
61 raise AttributeError("module '{}' has no attribute '{}'".format(name, name))
62
63
AttributeError: module 'PIL.Image' has no attribute 'Transform'
据说可能是版本问题
求解答
有可能新版本把这个方法改了,如果,你是在书上的源码或者GitHub的源码,最好,和它们所要求的环境一致。
这篇文章:python的AttributeError错误 也许能够解决你的问题,你可以看下