在调试 《Neural Factorization Machines for Sparse Predictive Analytics》论文的源码(https://github.com/hexiangnan/neural_factorization_machine )时,出现的问题:

Debug 路漫漫-14:Python: AttributeError: module 'tensorflow' has no attribute 'sub'

 

原因:

版本更新,sub 换成了 subtract 了。

 改过来之后,完美解决!:

Debug 路漫漫-14:Python: AttributeError: module 'tensorflow' has no attribute 'sub'

 

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2021-06-17
  • 2021-07-27
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案