Skip to content

Example code to train a Graph Neural Network on the MNIST dataset in PyTorch for Digit Classification

Notifications You must be signed in to change notification settings

DebasmitaGhose/PyTorch_Graph_Neural_Network_MNIST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

PyTorch_Graph_Neural_Network_MNIST

Example code to train a Graph Neural Network on the MNIST dataset in PyTorch for Digit Classification

References

Running the Code

To use precomputed adjacency matrix:

python gnn_mnist.py

To use a learned edge map:

python gnn_mnist.py --pred_edge

Other optional hyperparameters:

python gnn_mnist.py --pred_edge --batch_size 64 --epochs 10 --lr 1e-4 --seed 10

About

Example code to train a Graph Neural Network on the MNIST dataset in PyTorch for Digit Classification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages