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

Unable to generate separate .graphml files as input Dataset/mutag -HELP needed. #4

Closed
SUSHANT12PRABHU opened this issue May 29, 2019 · 1 comment

Comments

@SUSHANT12PRABHU
Copy link

SUSHANT12PRABHU commented May 29, 2019

Hello,
I am on a Linux 4.15.0-50-generic Ubuntu x86_64 GNU/Linux system . I am working using python 3.6.8 anaconda v.4.6.14 ,my environment has networkx (v. 2.3), tensorflow (v. 1.7), scikit-learn (v. 0.18.1)
I am using networkx to generate an edgelist of graph and I want to use AWE model to generate the embeddings . I used networkx.graphml to generate the .graphml version for input but how should I go about generating input like yours in Dataset/mutag separate input files . I am attaching a preview of the file input graphml file I have below.

<?xml version='1.0' encoding='utf-8'?> <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"><graph edgedefault="undirected"><node id="24"/> <node id="25"/> <node id="26"/>
...
<node id="8488"/> <node id="8489"/> <node id="7464"/> <edge source="5988" target="5989"/> <edge source="5989" target="4281"/> <edge source="5989" target="5775"/> <edge source="5989" target="5990"/> </graph></graphml>

so I just have 1 graphml file unlike separate graphml for mutag and the above is the format .How should I go about generating input like yours in Dataset/mutag separate input files ?
Thank you for taking time to help me in advance.

@SUSHANT12PRABHU
Copy link
Author

Solved .

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

1 participant