Comments (13)
I fix
to
from .skipgram import Skipgram
then reinstall and it works !!
from gmatch4py.
Hi @kodama-codes
The error came from that the latest gensim library no longer has Vocab.
I downgraded to gensim==3.8.3 and then it worked.
from gmatch4py.
Hello all, I took the time to make a fork of this library and remove all code that is not related to graph edit distance and cleaned it up, so it has no legacy dependencies.
If you want to use only graph edit distances and no other features feel free to use my fork. It should easier to maintain, since it has much less dependencies.
Check it out at https://github.com/chilligerchief/GED4py
from gmatch4py.
Hi all !
Sorry for being silent for many years...I've been busy and did not have much time for GMatch4py. Thanks to you all for helping peoples in need when it comes to make GMatch4py work !
I push few modifications that integrates solutions proposed in this feed.
Bests,
Jacques
from gmatch4py.
Same here, but I commented this import out since I'm only interested in GED and that worked.
from gmatch4py.
Also the same here. Tested on Windows and Linux.
from gmatch4py.
Ahoi @doralune
I still get an error when i run the code
File "...\venv\lib\site-packages\gmatch4py\__init__.py", line 15, in <module> from .embedding.deepwalk import * File "gmatch4py\embedding\deepwalk.pyx", line 31, in init gmatch4py.embedding.deepwalk File "gmatch4py\embedding\skipgram.pyx", line 8, in init gmatch4py.embedding.skipgram ImportError: cannot import name Vocab
from gmatch4py.
Ahoi @doralune
Perfect, now it workes like a charm. Thx alot!
from gmatch4py.
gensim 3.8.3 can not easily be installed on newer systems. Modern gcc won't compile it. Please don't expect me to downgrade gcc as well^^. Any easy way to fix this, or is this library dead?
from gmatch4py.
I fix
to
from .skipgram import Skipgramthen reinstall and it works !!
I did that, but still having the very first Error, with (ModuleNotFoundError: No module named 'skipgram')
Starting to lose faith
Please Help!
from gmatch4py.
@Anmario It should be different error after fixing something. Please give more details for reproducing the error.
from gmatch4py.
gensim 3.8.3 can not easily be installed on newer systems. Modern gcc won't compile it. Please don't expect me to downgrade gcc as well^^. Any easy way to fix this, or is this library dead?
GMatch4py is not updated for 3 years ? and still uses the old gensim, so we don't have much choice. For me, I use the docker container for running old stuff.
from gmatch4py.
@Anmario It should be different error after fixing something. Please give more details for reproducing the error.
That's logic, but I get in the both cases the same below.
:228: UserWarning: To obtain optimal results install the Cython 'munkres' module at https://github.com/jfrelinger/cython-munkres-wrapper
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_27028/812984187.py in
1 import networkx as nx
----> 2 import gmatch4py as gm
3 1+1
~\anaconda3\lib\site-packages\gmatch4py_init_.py in
13 # Graph Embedding import
14 from .embedding.graph2vec import *
---> 15 from .embedding.deepwalk import *
16 from .embedding.node2vec import *
17 # Helpers import
gmatch4py\embedding\deepwalk.pyx in init gmatch4py.embedding.deepwalk()
ModuleNotFoundError: No module named 'skipgram'
from gmatch4py.
Related Issues (20)
- set_attr_graph_used HOT 1
- Clearer documentation HOT 2
- ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist' HOT 1
- graph-edit example from README: TypeError: 'method' object is not iterable HOT 2
- What is the order of the costs in GraphEditDistance? HOT 1
- Installation failed HOT 1
- Use of GMatch4py HOT 2
- Bug with GMatch4py if start with an other example HOT 4
- sum up of the matchings between graphs HOT 1
- How does the node attr works? HOT 2
- Graph2Vec error
- What is the maximum edit distance between two graphs? HOT 1
- No module named 'gmatch4py HOT 1
- A Question of Toponym Geocoding
- How to define substitution cost? HOT 2
- Some constructive feed HOT 2
- ModuleNotFoundError during Import
- `set_attr_graph_used` is not setting `node_attr_key`
- How are node attributes being exploited?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmatch4py.