当前位置:   article > 正文

python的AttributeError错误_python出现raise attributeerror

python出现raise attributeerror
imdb_data_bunch.one_bach()//这个one_bach()不存在
  • 1

AttributeError Traceback (most recent call last)
in ()
----> 1 imdb_data_bunch.one_bach()
/opt/conda/lib/python3.6/site-packages/fastai/basic_data.py in getattr(self, k)
120 return cls(*dls, path=path, device=device, dl_tfms=dl_tfms, collate_fn=collate_fn, no_check=no_check)
121
–> 122 def getattr(self,k:int)->Any: return getattr(self.train_dl, k)
123 def setstate(self,data:Any): self.dict.update(data)
124
/opt/conda/lib/python3.6/site-packages/fastai/basic_data.py in getattr(self,

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/729416
推荐阅读
相关标签
  

闽ICP备14008679号