Code Monkey home page Code Monkey logo

ocgnn's People

Contributors

wangxuhongcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ocgnn's Issues

A question about function fixed_graph_evaluate()

Hi, I am wondering why you set model.train() outside of the training loop? And I see that during the training loop, you seem to use the function fixed_graph_evaluate(), which sets model.eval(). Can I take that to mean the GNN model is at eval status during that time? Thanks.

Cannot assign one feature “norm” on device coda:0 to a graph on device cpu.Call DGLGraph.to() to copy the graph to the same device.

Hi Xuhong, I’m a junior from JLU trying to run your code.
The problem is, the code is not working on my PC having error showing that the tensors seems are arranged on different device. I’ve changed the computer but the problem is the same. I was running the main.py by typing “ python main.py —dataset Cora —module GCN —nu 0.1 —lr 0.001 —h-hidden 32”
All the packages required are downloaded, and the data is loaded and preprocessed. The error content are demonstrated in the title. Even if I change the computer, the issue still exist. BTW, the gpu is Titan RTX. Could you pls take a minute and check this issue?
Looking forward to your reply.
IMG_2329

No Such File Or Directory

Hi Xuhong,

I hope you're doing well. I wanted to seek help with the below error which I'm facing while running main.py file:

Error: "FileNotFoundError: [Errno 2] No such file or directory: '/floyd/home/log/cora+OC-GAE.log'"

This is what I'm trying to run: python main.py --dataset cora --module GAE --gpu 0 --n-epochs 5000 --seed 46

Looking like the path given to read the log file isn't correct because of which it shows no such file or directory. Can you check if you are also able to replicate this bug?

Screen Shot 2020-06-21 at 2 39 19 pm

Best Regards,
Vatsal Patel

**ERROR: cannot find key: --dataset**

I'm facing another error that I wanted to bring to your attention. I'm working on this error too but wanted to drop a message to see if you know what's happening here.

ERROR: cannot find key: --dataset

image

Replaceable GNN layers

Hi Xuhong,

Thanks for the great contribution.
I have a question about the GNN layers that can be used in the OCGNN framework. I just realized the GNN layers proposed in your paper/code are semi-supervised/unsupervised. Is it possible to replace the GNN layer with a supervised approach? In other words, is the semi-supervised/unsupervised structure required in OCGNN?
Look forward to your replying.

Applying OCGNN on custom dataset

Trying to use OCGNN on custom dataset containing node features and adjacency matrices. Any helper functions that support OCGNN for custom dataset? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.