AttributeError: type object ‘IteratorBase‘ has no attribute ‘from_structure‘已解决

最近在跑点云语义分割项目RandLA-Net的时候,遇到了这个问题,现在已经解决。AttributeError: type object IteratorBase has no attribute

最近在跑点云语义分割项目RandLA-Net的时候,遇到了这个问题,现在已经解决。

AttributeError: type object 'IteratorBase' has no attribute 'from_structure'

属性错误,类型对象‘IteratorBase’中没有from_structure属性

出现这个问题的原因:TensorFlow2.x版本中,IteratorBase这个对象对应的类中,没有封装from_structure这个属性。所以导致的错误。

解决方法:安装TensorFlow1.x。我安装了TensorFlow1.11之后,没有再出现这个问题。

发布者:admin,转转请注明出处:http://www.yc00.com/web/1755047872a5232988.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信