We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我用的networkx-3.1 如果出现错误:AttributeError: module 'networkx' has no attribute 'from_numpy_matrix',可以按如下方法解决问题: 将utils中的nx_graph = nx.from_numpy_matrix(graph),改为nx_graph = nx.from_numpy_array(graph)
The text was updated successfully, but these errors were encountered:
感谢分享
Sorry, something went wrong.
感谢,刚好遇到同样的问题,已解决!
No branches or pull requests
我用的networkx-3.1
如果出现错误:AttributeError: module 'networkx' has no attribute 'from_numpy_matrix',可以按如下方法解决问题:
将utils中的nx_graph = nx.from_numpy_matrix(graph),改为nx_graph = nx.from_numpy_array(graph)
The text was updated successfully, but these errors were encountered: