Skip to content
New issue

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

Graph' object has no attribute 'node #6

Open
donkarlo opened this issue Mar 2, 2021 · 1 comment
Open

Graph' object has no attribute 'node #6

donkarlo opened this issue Mar 2, 2021 · 1 comment

Comments

@donkarlo
Copy link

donkarlo commented Mar 2, 2021

When running example.py, just for testing, this happened

GrowingNeuralGas/gng.py", line 83, in fit_network
self.network.node[s_1]['error'] += spatial.distance.euclidean(observation, self.network.node[s_1]['vector'])**2
AttributeError: 'Graph' object has no attribute 'node

@sunnybear
Copy link

The same issue. It seems gng is incompatible with newest networkx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants