Giter Club home page Giter Club logo

uncertainty-gnn's People

Contributors

zxj32 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

Watchers

 avatar

uncertainty-gnn's Issues

baseline.py: saving output probability (.npy file)

It seems like in baseline.py, when if FLAGS.OOD_detection == 0 output probability (.npy file) is not not saved and when FLAGS.OOD_detection == 1 output probability (.npy file) is saved, but without the _ood extension (i.e., to incorrect directory).

Questions about the accuracy of replicating GKDE on Amazon Computers and Photo datasets

Issue Description:
I am in the process of writing a related paper, so I intend to reproduce the results of this paper on some datasets. However, I encountered some difficulties when I tried to reproduce your experiments on the Amazon Photo and Computers datasets. I followed the instructions on your GitHub repository, but I could not obtain the same results as reported in your paper.

Steps Taken So Far & Problems:

  1. In the Kernel_Graph.py file, there seem to be missing codes for the Misclassification task on the Amazon Photo and Computers datasets. I think there should be a function called all_kde_npy to implement the first step on the Photo and Computers datasets. I tried to add this function by following the differences between all_kde and all_kde_ood, and I was able to run the first step (python Kernel_Graph.py) successfully.
  2. In the second step (python Baseline.py -dataset amazon_electronics_computers --model GCN --OOD_detection 0), I noticed that the code executes to roc, pr = Misclassification_npz(outs, FLAGS. dataset, FLAGS.model) reported an error about entropy = - prob * (np.log(prob) / np.log(class_num)). After checking, I found that np.log(prob) produced '-inf' value, so I modified the function "entropy_softmax(pred)" to make prob=softmax(pred)+1e-10 to avoid the above situation, and realized the normal operation of the second step.
  3. In the third step (python S-BGCN- T-K_npy.py-dataset amazon_electronics_computers -- OOD_detection 0), The first epoch encountered errors train_loss = nan and val_loss = nan, which prevented me from getting the final result.

I wonder if you could help me with these issues and provide some guidance on how to reproduce your experiments on the Amazon Photo and Computers datasets. I would really appreciate your assistance and feedback. Thank you very much for your time and attention.

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.