Comments (7)
I have now created a "tests" folder with required files. The issue should now be resolved
from gem.
Just updated, now I get (OSX / Python 3.7):
Using TensorFlow backend.
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.7
return f(*args, **kwds)
Traceback (most recent call last):
File "test_sbm.py", line 34, in <module>
open('data/sbm_node_labels.pickle', 'rb')
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 512: ordinal not in range(128)
from gem.
This was caused due to Pickle incompatibility between Python 2 and 3. I have fixed the issue.
from gem.
Now I get:
Using TensorFlow backend.
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.7
return f(*args, **kwds)
Traceback (most recent call last):
File "test_sbm.py", line 35, in <module>
open('data/sbm_node_labels.pickle', 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'data/sbm_node_labels.pickle'
from gem.
Should be fixed now. Had renamed the sbm_node_labels for testing the Pickle incompatibility
from gem.
Another error now (see below). I think you should test your software starting from a more neutral environment (for example using a virtual environment and cloning your own repo as a "standard" user). This would hep spotting simple errors. I'm leaving on conference for one week and won't be able to test it during that time. You thus have plenty of time to test it more thoroughly.
Using TensorFlow backend.
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.7
return f(*args, **kwds)
Traceback (most recent call last):
File "test_sbm.py", line 57, in <module>
print ('Num nodes: %d, num edges: %d' % (G.number_of_nodes(), G.number_of_edges()))
File "/usr/local/lib/python3.7/site-packages/networkx/classes/graph.py", line 780, in number_of_nodes
return len(self._node)
AttributeError: 'DiGraph' object has no attribute '_node'
from gem.
The above error is due to Networkx version incompatibility. You need to install a Networkx version < 2. In the setup, I have modified the networkx version to 1.11. I hope this clears all the issues.
I will clone the repository on some systems to find possible incompatibilities.
from gem.
Related Issues (20)
- Error in SDNE
- Tensorflow module is missing
- sdne: Nodes corresponding to embedded vectors HOT 1
- Problem with dependencies HOT 3
- LaplacianEigenmap for a large number of connected components HOT 3
- result of the running example of readme.md HOT 2
- The use of "merge" module of keras.layers in sdne.py HOT 2
- EXECUTION HOT 3
- SDNE execution problem HOT 1
- how to use GEM in an exsisting graph HOT 4
- gf not found HOT 2
- Use of Link prediction code HOT 2
- The number of positive classes for each node is leaked to TopKRanker HOT 1
- How to determine dimension variable in methods HOT 1
- Create embeddings directly from an adjacency matrix (e.g. numpy.array or scipy.sparse)? HOT 2
- [Errno 2] No such file or directory: 'gem/intermediate/karate_gf.graph' HOT 7
- SDNE implementation error HOT 3
- Error when running link prediction
- Unweighted node2vec not possible?
- Error running SDNE algorithm HOT 1
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 gem.